]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
more: add noreturn function attribute
authorSami Kerola <kerolasa@iki.fi>
Wed, 25 Jul 2012 19:15:40 +0000 (21:15 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Jul 2012 11:51:35 +0000 (13:51 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
text-utils/more.c

index 5e41a540abad13b78a45e0258bede9f2662d99a1..58c99cca61a0a1a71b19b02dd445717e2fc085c1 100644 (file)
@@ -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) {