summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko2019-10-25 13:05:15 +0200
committerDenys Vlasenko2019-10-25 13:05:15 +0200
commite5897d041d704a40efc8480cb2a72ef6843d0642 (patch)
treeab580bd571a7483dfa00984420a68c8c47ecf7f6 /util-linux
parent1f1492bb96e318a36dee940e6d4bec0ef915339f (diff)
downloadbusybox-e5897d041d704a40efc8480cb2a72ef6843d0642.zip
busybox-e5897d041d704a40efc8480cb2a72ef6843d0642.tar.gz
suppress a few "unused function" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-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 076c5ca..e58cb0f 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -588,11 +588,13 @@ partname(const char *dev, int pno, int lth)
return bufp;
}
+#if ENABLE_FEATURE_SGI_LABEL || ENABLE_FEATURE_OSF_LABEL
static ALWAYS_INLINE struct partition *
get_part_table(int i)
{
return ptes[i].part_table;
}
+#endif
static ALWAYS_INLINE const char *
str_units(void)