aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-01-25 20:18:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-01-25 20:18:46 +0000
commit893988182a97bc58d8d1d8eb15d00e427801cedd (patch)
tree67ac300dd2e47d4469a39c4bd191ea824b00cc80
parentca9635b19dc66f37c322a61d8fcba5c753a526af (diff)
downloadbusybox-893988182a97bc58d8d1d8eb15d00e427801cedd.tar.gz
fdisk: comment out unused function
-rw-r--r--util-linux/fdisk.c2
1 files changed, 2 insertions, 0 deletions
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)