diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fdisk.c | 6 | ||||
-rw-r--r-- | util-linux/mkfs_minix.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 2f87f1c..2af5a41 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -252,14 +252,14 @@ set_all_unchanged(void) ptes[i].changed = 0; } -extern inline void +static ATTRIBUTE_ALWAYS_INLINE void set_changed(int i) { ptes[i].changed = 1; } #endif /* CONFIG_FEATURE_FDISK_WRITABLE */ -extern inline struct partition * +static ATTRIBUTE_ALWAYS_INLINE struct partition * get_part_table(int i) { return ptes[i].part_table; @@ -281,7 +281,7 @@ valid_part_table_flag(const char *mbuffer) } #if ENABLE_FEATURE_FDISK_WRITABLE -extern inline void +static ATTRIBUTE_ALWAYS_INLINE void write_part_table_flag(char *b) { b[510] = 0x55; diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index af19da6..263013a 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c @@ -183,7 +183,7 @@ static int used_good_blocks; static unsigned short good_blocks_table[MAX_GOOD_BLOCKS]; static unsigned long req_nr_inodes; -extern inline unsigned div_roundup(unsigned size, unsigned n) +static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) { return (size + n-1) / n; } |