summaryrefslogtreecommitdiff
path: root/editresP.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-05-09 13:13:32 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2015-05-09 13:13:32 -0700
commita415214bf282dcc8385f2101e6f8c018e188fa41 (patch)
tree663f68ceebfc6de5e64fa1459bc0a385cb262717 /editresP.h
parenta6733f76dad52644bd45a8674bf0ea97c6e424ac (diff)
Fix -Wmissing-noreturn warnings
editres.c:140:1: warning: function 'Syntax' could be declared with attribute 'noreturn' [-Wmissing-noreturn] handler.c:65:1: warning: function 'Quit' could be declared with attribute 'noreturn' [-Wmissing-noreturn] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'editresP.h')
-rw-r--r--editresP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/editresP.h b/editresP.h
index f6aa412..5413365 100644
--- a/editresP.h
+++ b/editresP.h
@@ -28,6 +28,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xmu/EditresP.h>
#include <X11/Xresource.h>
+#include <X11/Xfuncproto.h>
#define DEBUG
@@ -403,7 +404,7 @@ extern void PrintNodes ( WNode * top );
extern char * PrintSetValuesError ( Event * event );
extern char * ProtocolFailure ( ProtocolStream * stream );
extern XrmQuarkList Quarkify ( char ** list, char * ptr );
-extern void Quit ( Widget w, XtPointer client_data, XtPointer call_data );
+extern void Quit ( Widget w, XtPointer client_data, XtPointer call_data ) _X_NORETURN;
extern void RebuildMenusAndLabel ( String toolkit );
extern void ResourceListCallback ( Widget list, XtPointer node_ptr, XtPointer junk );
extern void SaveResource ( Widget w, XtPointer res_box_ptr, XtPointer junk );