summaryrefslogtreecommitdiffstats
path: root/src/partsun.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
commit5156d5b462f00da3830dc6314dd74feda37f1257 (patch)
tree85ff8a96aeab5a1cdd6054f6be8a53d12d401788 /src/partsun.c
parent4a75ec8effe3e4878e7710a1322d8ed86f059c08 (diff)
Code cleanup
Diffstat (limited to 'src/partsun.c')
-rw-r--r--src/partsun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partsun.c b/src/partsun.c
index 01a1e83..6545b56 100644
--- a/src/partsun.c
+++ b/src/partsun.c
@@ -117,7 +117,7 @@ static unsigned int get_part_type_sun(const partition_t *partition)
return partition->part_type_sun;
}
-int get_geometry_from_sunmbr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry)
+static int get_geometry_from_sunmbr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry)
{
const sun_partition *sunlabel=(const sun_partition*)buffer;
if(verbose>1)
@@ -135,7 +135,7 @@ int get_geometry_from_sunmbr(const unsigned char *buffer, const int verbose, CHS
return 0;
}
-list_part_t *read_part_sun(disk_t *disk_car, const int verbose, const int saveheader)
+static list_part_t *read_part_sun(disk_t *disk_car, const int verbose, const int saveheader)
{
unsigned int i;
sun_partition *sunlabel;