diff options
author | Sami Kerola | 2012-07-25 21:15:40 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-26 13:51:35 +0200 |
commit | 77cf6e70210c9be453f9340e3bb51ae408ec4728 (patch) | |
tree | b309570e80fb352a1747e589337db95cf1b122a3 /text-utils/more.c | |
parent | script: add noreturn function attributes (diff) | |
download | kernel-qcow2-util-linux-77cf6e70210c9be453f9340e3bb51ae408ec4728.tar.gz kernel-qcow2-util-linux-77cf6e70210c9be453f9340e3bb51ae408ec4728.tar.xz kernel-qcow2-util-linux-77cf6e70210c9be453f9340e3bb51ae408ec4728.zip |
more: add noreturn function attribute
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/more.c')
-rw-r--r-- | text-utils/more.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/text-utils/more.c b/text-utils/more.c index 5e41a540a..58c99cca6 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) { |