diff options
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 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; |