OSDN Git Service
(root)
/
android-x86
/
external-parted.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea795d8
)
gpt: make an internal function "const"-correct
author
Jim Meyering
<meyering@redhat.com>
Thu, 22 Oct 2009 18:55:39 +0000
(20:55 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Fri, 23 Oct 2009 16:09:41 +0000
(18:09 +0200)
* libparted/labels/gpt.c (_parse_header): Make "gpt" const.
libparted/labels/gpt.c
patch
|
blob
|
history
diff --git
a/libparted/labels/gpt.c
b/libparted/labels/gpt.c
index
b17ae53
..
1bc7727
100644
(file)
--- a/
libparted/labels/gpt.c
+++ b/
libparted/labels/gpt.c
@@
-637,7
+637,7
@@
_header_is_valid (const PedDevice *dev, GuidPartitionTableHeader_t *gpt,
}
static int
-_parse_header (PedDisk *disk, GuidPartitionTableHeader_t *gpt,
+_parse_header (PedDisk *disk,
const
GuidPartitionTableHeader_t *gpt,
int *update_needed)
{
GPTDiskData *gpt_disk_data = disk->disk_specific;