From 893988182a97bc58d8d1d8eb15d00e427801cedd Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 25 Jan 2008 20:18:46 +0000 Subject: [PATCH] fdisk: comment out unused function --- util-linux/fdisk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 00b856684..cd053b876 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -702,6 +702,7 @@ get_partition_start(const struct pte *pe) * We might also do the opposite and warn in all cases except * for "is probably nondos partition". */ +#ifdef UNUSED static int is_dos_partition(int t) { @@ -711,6 +712,7 @@ is_dos_partition(int t) t == 0x1b || t == 0x1c || t == 0x1e || t == 0x24 || t == 0xc1 || t == 0xc4 || t == 0xc6); } +#endif static void menu(void)