suppress a few "unused function" warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2019-10-25 13:05:15 +02:00
parent 1f1492bb96
commit e5897d041d
4 changed files with 6 additions and 5 deletions

View File

@ -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)