From: Sami Kerola Date: Wed, 25 Jul 2012 19:15:40 +0000 (+0200) Subject: more: add noreturn function attribute X-Git-Tag: v2.22-rc1~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77cf6e70210c9be453f9340e3bb51ae408ec4728;p=thirdparty%2Futil-linux.git more: add noreturn function attribute Signed-off-by: Sami Kerola --- diff --git a/text-utils/more.c b/text-utils/more.c index 5e41a540ab..58c99cca61 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -755,7 +755,8 @@ void chgwinsz(int dummy __attribute__ ((__unused__))) ** Clean up terminal state and exit. Also come here if interrupt signal received */ -void end_it (int dummy __attribute__ ((__unused__))) +void __attribute__((__noreturn__)) +end_it (int dummy __attribute__ ((__unused__))) { reset_tty (); if (clreol) {