gui: Fix sparse warning.
authorAndre Noll <maan@systemlinux.org>
Tue, 9 Aug 2011 19:53:12 +0000 (21:53 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 9 Aug 2011 19:53:12 +0000 (21:53 +0200)
Fixes:

gui.c:1373:24: error: symbol 'com_quit' redeclared with different type (originally declared at gui.c:102) - different modifiers

gui.c

diff --git a/gui.c b/gui.c
index c872156..a3c07ec 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -99,7 +99,7 @@ static void com_reread_conf(void);
 static void com_enlarge_top_win(void);
 static void com_shrink_top_win(void);
 static void com_version(void);
-static void com_quit(void);
+__noreturn static void com_quit(void);
 static void com_refresh(void);
 static void com_ll_incr(void);
 static void com_ll_decr(void);