diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-16 23:48:13 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-16 23:48:13 +0000 |
| commit | a597aaddfa76d589d3e1a37b1f1c3401c2decffd (patch) | |
| tree | 1db4966ffc99ad3c495bd18d6f7040e1515e79d7 /util-linux | |
| parent | 3469c185e50e7bb672ce33ab5e50da753f0f0e20 (diff) | |
| download | busybox-w32-a597aaddfa76d589d3e1a37b1f1c3401c2decffd.tar.gz busybox-w32-a597aaddfa76d589d3e1a37b1f1c3401c2decffd.tar.bz2 busybox-w32-a597aaddfa76d589d3e1a37b1f1c3401c2decffd.zip | |
s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g
xstrtou: disallow leading '+'
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 2f87f1c60..2af5a41b9 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
| @@ -252,14 +252,14 @@ set_all_unchanged(void) | |||
| 252 | ptes[i].changed = 0; | 252 | ptes[i].changed = 0; |
| 253 | } | 253 | } |
| 254 | 254 | ||
| 255 | extern inline void | 255 | static ATTRIBUTE_ALWAYS_INLINE void |
| 256 | set_changed(int i) | 256 | set_changed(int i) |
| 257 | { | 257 | { |
| 258 | ptes[i].changed = 1; | 258 | ptes[i].changed = 1; |
| 259 | } | 259 | } |
| 260 | #endif /* CONFIG_FEATURE_FDISK_WRITABLE */ | 260 | #endif /* CONFIG_FEATURE_FDISK_WRITABLE */ |
| 261 | 261 | ||
| 262 | extern inline struct partition * | 262 | static ATTRIBUTE_ALWAYS_INLINE struct partition * |
| 263 | get_part_table(int i) | 263 | get_part_table(int i) |
| 264 | { | 264 | { |
| 265 | return ptes[i].part_table; | 265 | return ptes[i].part_table; |
| @@ -281,7 +281,7 @@ valid_part_table_flag(const char *mbuffer) | |||
| 281 | } | 281 | } |
| 282 | 282 | ||
| 283 | #if ENABLE_FEATURE_FDISK_WRITABLE | 283 | #if ENABLE_FEATURE_FDISK_WRITABLE |
| 284 | extern inline void | 284 | static ATTRIBUTE_ALWAYS_INLINE void |
| 285 | write_part_table_flag(char *b) | 285 | write_part_table_flag(char *b) |
| 286 | { | 286 | { |
| 287 | b[510] = 0x55; | 287 | b[510] = 0x55; |
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index af19da68c..263013af9 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c | |||
| @@ -183,7 +183,7 @@ static int used_good_blocks; | |||
| 183 | static unsigned short good_blocks_table[MAX_GOOD_BLOCKS]; | 183 | static unsigned short good_blocks_table[MAX_GOOD_BLOCKS]; |
| 184 | static unsigned long req_nr_inodes; | 184 | static unsigned long req_nr_inodes; |
| 185 | 185 | ||
| 186 | extern inline unsigned div_roundup(unsigned size, unsigned n) | 186 | static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) |
| 187 | { | 187 | { |
| 188 | return (size + n-1) / n; | 188 | return (size + n-1) / n; |
| 189 | } | 189 | } |
