The following functions are not declared static, but aren't
mentioned in any other file.  So I'm making them "static":

        * libparted/labels/mac.c (mac_alloc): Declare static.
        * libparted/labels/dos.c (raw_part_parse): Declare static.

diff --git a/libparted/labels/dos.c b/libparted/labels/dos.c
index 519ba7e..3582037 100644
--- a/libparted/labels/dos.c
+++ b/libparted/labels/dos.c
@@ -760,7 +760,7 @@ raw_part_is_lba (const DosRawPartition* raw_part)
        return 0;
 }

-PedPartition*
+static PedPartition*
 raw_part_parse (const PedDisk* disk, const DosRawPartition* raw_part,
                PedSector lba_offset, PedPartitionType type)
 {
diff --git a/libparted/labels/mac.c b/libparted/labels/mac.c
index aeb0f5a..32b98b0 100644
--- a/libparted/labels/mac.c
+++ b/libparted/labels/mac.c
@@ -257,7 +257,7 @@ error:
        return 0;
 }

-PedDisk*
+static PedDisk*
 mac_alloc (const PedDevice* dev)
 {
        PedDisk*                disk;

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to