From bd018b1babf0521b8e740abb6473133c1c4c35d2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 31 Jan 2001 23:00:46 +0000 Subject: Make old compilers not choke -- define the attribute in the func prototype. --- util-linux/mkfs_minix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'util-linux') diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index a2b6d8a6e..9b40faac6 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); } -- cgit v1.2.3