diff options
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/fdisk.c | 6 | ||||
| -rw-r--r-- | util-linux/fsck_minix.c | 2 | ||||
| -rw-r--r-- | util-linux/mkfs_minix.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index ed5abe956..4ecbadf78 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
| @@ -402,14 +402,14 @@ set_all_unchanged(void) | |||
| 402 | ptes[i].changed = 0; | 402 | ptes[i].changed = 0; |
| 403 | } | 403 | } |
| 404 | 404 | ||
| 405 | static ATTRIBUTE_ALWAYS_INLINE void | 405 | static ALWAYS_INLINE void |
| 406 | set_changed(int i) | 406 | set_changed(int i) |
| 407 | { | 407 | { |
| 408 | ptes[i].changed = 1; | 408 | ptes[i].changed = 1; |
| 409 | } | 409 | } |
| 410 | #endif /* FEATURE_FDISK_WRITABLE */ | 410 | #endif /* FEATURE_FDISK_WRITABLE */ |
| 411 | 411 | ||
| 412 | static ATTRIBUTE_ALWAYS_INLINE struct partition * | 412 | static ALWAYS_INLINE struct partition * |
| 413 | get_part_table(int i) | 413 | get_part_table(int i) |
| 414 | { | 414 | { |
| 415 | return ptes[i].part_table; | 415 | return ptes[i].part_table; |
| @@ -430,7 +430,7 @@ valid_part_table_flag(const char *mbuffer) | |||
| 430 | } | 430 | } |
| 431 | 431 | ||
| 432 | #if ENABLE_FEATURE_FDISK_WRITABLE | 432 | #if ENABLE_FEATURE_FDISK_WRITABLE |
| 433 | static ATTRIBUTE_ALWAYS_INLINE void | 433 | static ALWAYS_INLINE void |
| 434 | write_part_table_flag(char *b) | 434 | write_part_table_flag(char *b) |
| 435 | { | 435 | { |
| 436 | b[510] = 0x55; | 436 | b[510] = 0x55; |
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index d35a25a9d..955d66f23 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c | |||
| @@ -159,7 +159,7 @@ static struct { | |||
| 159 | #define MAGIC (Super.s_magic) | 159 | #define MAGIC (Super.s_magic) |
| 160 | 160 | ||
| 161 | /* gcc likes this more (code is smaller) than macro variant */ | 161 | /* gcc likes this more (code is smaller) than macro variant */ |
| 162 | static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) | 162 | static ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) |
| 163 | { | 163 | { |
| 164 | return (size + n-1) / n; | 164 | return (size + n-1) / n; |
| 165 | } | 165 | } |
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 9707ba3bd..ffdb2141e 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c | |||
| @@ -121,7 +121,7 @@ struct globals { | |||
| 121 | 121 | ||
| 122 | #define G (*ptr_to_globals) | 122 | #define G (*ptr_to_globals) |
| 123 | 123 | ||
| 124 | static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) | 124 | static ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) |
| 125 | { | 125 | { |
| 126 | return (size + n-1) / n; | 126 | return (size + n-1) / n; |
| 127 | } | 127 | } |
