summaryrefslogtreecommitdiff
path: root/partutil
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2006-09-11 17:42:44 -0400
committerDavid Zeuthen <davidz@redhat.com>2006-09-11 17:42:44 -0400
commit64cc367c425c6af0b85b8b34bd31e2a56b119d98 (patch)
tree6330d67444ce4df60cef99a2e9bdfa5338fdf84e /partutil
parent9f6191e4df2dedb666883dab897b9e970a5bd001 (diff)
fix some compiler warnings
Diffstat (limited to 'partutil')
-rw-r--r--partutil/partutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/partutil/partutil.c b/partutil/partutil.c
index beeaedb1..5da36d54 100644
--- a/partutil/partutil.c
+++ b/partutil/partutil.c
@@ -225,6 +225,7 @@ get_le_guid (const guint8 *buf)
guid->data4[7]);
}
+#ifdef USE_PARTED
static gboolean
set_le_guid (guint8 *buf, const char *source)
{
@@ -278,6 +279,7 @@ set_le_guid (guint8 *buf, const char *source)
out:
return ret;
}
+#endif
static PartitionEntry *
part_entry_new (PartitionTable *e_part_table, const guint8 *data, int length, guint64 offset)