diff options
author | Denis Vlasenko | 2006-12-16 23:48:13 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-16 23:48:13 +0000 |
commit | a597aaddfa76d589d3e1a37b1f1c3401c2decffd (patch) | |
tree | 1db4966ffc99ad3c495bd18d6f7040e1515e79d7 /util-linux/fdisk.c | |
parent | 3469c185e50e7bb672ce33ab5e50da753f0f0e20 (diff) | |
download | busybox-a597aaddfa76d589d3e1a37b1f1c3401c2decffd.zip busybox-a597aaddfa76d589d3e1a37b1f1c3401c2decffd.tar.gz |
s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g
xstrtou: disallow leading '+'
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 6 |
1 files changed, 3 insertions, 3 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; |