]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 c8721565ae86502319be0ed2e6257454b876f841..a3c07ec796bd9d179ef633b3d81d91c14b42c834 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);