summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkfs_minix.c4
-rw-r--r--util-linux/mkfs_minix.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/mkfs_minix.c b/mkfs_minix.c
index a2b6d8a..9b40faa 100644
--- a/mkfs_minix.c
+++ b/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);
}
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);
}