diff --git a/mcstrans/utils/transcon.c b/mcstrans/utils/transcon.c index 5189f0fa..f4ded53e 100644 --- a/mcstrans/utils/transcon.c +++ b/mcstrans/utils/transcon.c @@ -7,7 +7,7 @@ #include #include "mcstrans.h" -void usage(const char *progname) +static __attribute__((__noreturn__)) void usage(const char *progname) { fprintf(stderr, "usage: %s context\n", progname); exit(1); diff --git a/mcstrans/utils/untranscon.c b/mcstrans/utils/untranscon.c index f47b6ea8..85cea294 100644 --- a/mcstrans/utils/untranscon.c +++ b/mcstrans/utils/untranscon.c @@ -7,7 +7,7 @@ #include #include "mcstrans.h" -void usage(const char *progname) +static __attribute__((__noreturn__)) void usage(const char *progname) { fprintf(stderr, "usage: %s context\n", progname); exit(1);