more: add noreturn function attribute
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
5da054e070
commit
77cf6e7021
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue