Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- text-utils/pg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/text-utils/pg.c b/text-utils/pg.c index 0168ebc..4b3b668 100644 --- a/text-utils/pg.c +++ b/text-utils/pg.c @@ -208,7 +208,7 @@ static my_sighandler_t my_sigset(int sig, my_sighandler_t disp) { /* * Quit pg. */ -static void +static void __attribute__((__noreturn__)) quit(int status) { exit(status < 0100 ? status : 077); @@ -217,7 +217,7 @@ quit(int status) /* * Usage message and similar routines. */ -static void usage(FILE * out) +static void __attribute__((__noreturn__)) usage(FILE * out) { fputs(USAGE_HEADER, out); fprintf(out, @@ -240,14 +240,14 @@ static void usage(FILE * out) quit(out == stderr ? 2 : 0); } -static void +static void __attribute__((__noreturn__)) needarg(const char *s) { warnx(_("option requires an argument -- %s"), s); usage(stderr); } -static void +static void __attribute__((__noreturn__)) invopt(const char *s) { warnx(_("illegal option -- %s"), s); @@ -926,7 +926,7 @@ makepat(void) /* * Process errors that occurred in temporary file operations. */ -static void +static void __attribute__((__noreturn__)) tmperr(FILE *f, const char *ftype) { if (ferror(f)) -- 1.7.12.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html