diff options
author | Eric Andersen | 2001-01-31 23:00:46 +0000 |
---|---|---|
committer | Eric Andersen | 2001-01-31 23:00:46 +0000 |
commit | bd018b1babf0521b8e740abb6473133c1c4c35d2 (patch) | |
tree | 667cb157a1e97ef11e80da146e513a075e00b1d7 /util-linux | |
parent | dd19c6990496023fe23fefef8f1798740f7d39c6 (diff) | |
download | busybox-bd018b1babf0521b8e740abb6473133c1c4c35d2.zip busybox-bd018b1babf0521b8e740abb6473133c1c4c35d2.tar.gz |
Make old compilers not choke -- define the attribute in the func prototype.
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/mkfs_minix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index a2b6d8a..9b40faa 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c @@ -255,7 +255,9 @@ static inline int bit(char * a,unsigned int i) #define mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE+1)) #define unmark_zone(x) (clrbit(zone_map,(x)-FIRSTZONE+1)) -static __attribute__ ((noreturn)) void show_usage() +static void show_usage() __attribute__ ((noreturn)); + +static void show_usage() { usage(mkfs_minix_usage); } |