diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-06-05 18:20:49 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-06-05 18:20:49 -0700 |
commit | f9b34c2eae4c3abe40904e4274c5d82cd16fc7af (patch) | |
tree | 269bdc973417449e7a457996c40a2b6926162c71 /xconsole.c | |
parent | a12b6b391ab96241aa14f918e36a2fbd92734c7d (diff) |
Mark functions _X_NORETURN that gcc warnings suggest
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xconsole.c')
-rw-r--r-- | xconsole.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -30,6 +30,8 @@ in this Software without prior written authorization from The Open Group. #include "config.h" #endif +#include <X11/Xfuncproto.h> + #include <X11/Intrinsic.h> #include <X11/StringDefs.h> #include <X11/Xatom.h> @@ -382,7 +384,7 @@ KillChild(int sig) #endif /*ARGSUSED*/ -static void +static void _X_NORETURN Quit(Widget widget, XEvent *event, String *params, Cardinal *num_params) { #ifdef USE_OSM @@ -634,7 +636,7 @@ ConvertSelection(Widget w, Atom *selection, Atom *target, Atom *type, return False; } -static void +static void _X_NORETURN LoseSelection(Widget w, Atom *selection) { Quit (w, (XEvent*)NULL, (String*)NULL, (Cardinal*)NULL); |