diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-10-25 13:05:15 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-10-25 13:05:15 +0200 |
| commit | e5897d041d704a40efc8480cb2a72ef6843d0642 (patch) | |
| tree | ab580bd571a7483dfa00984420a68c8c47ecf7f6 /util-linux | |
| parent | 1f1492bb96e318a36dee940e6d4bec0ef915339f (diff) | |
| download | busybox-w32-e5897d041d704a40efc8480cb2a72ef6843d0642.tar.gz busybox-w32-e5897d041d704a40efc8480cb2a72ef6843d0642.tar.bz2 busybox-w32-e5897d041d704a40efc8480cb2a72ef6843d0642.zip | |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 076c5ca57..e58cb0fd1 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
| @@ -588,11 +588,13 @@ partname(const char *dev, int pno, int lth) | |||
| 588 | return bufp; | 588 | return bufp; |
| 589 | } | 589 | } |
| 590 | 590 | ||
| 591 | #if ENABLE_FEATURE_SGI_LABEL || ENABLE_FEATURE_OSF_LABEL | ||
| 591 | static ALWAYS_INLINE struct partition * | 592 | static ALWAYS_INLINE struct partition * |
| 592 | get_part_table(int i) | 593 | get_part_table(int i) |
| 593 | { | 594 | { |
| 594 | return ptes[i].part_table; | 595 | return ptes[i].part_table; |
| 595 | } | 596 | } |
| 597 | #endif | ||
| 596 | 598 | ||
| 597 | static ALWAYS_INLINE const char * | 599 | static ALWAYS_INLINE const char * |
| 598 | str_units(void) | 600 | str_units(void) |
