more: add noreturn function attribute

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-07-25 21:15:40 +02:00 committed by Karel Zak
parent 5da054e070
commit 77cf6e7021
1 changed files with 2 additions and 1 deletions

View 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) {