suppress a few "unused function" warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 @@
 	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)