summaryrefslogtreecommitdiff
path: root/xfontsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'xfontsel.c')
-rw-r--r--xfontsel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfontsel.c b/xfontsel.c
index 7c12b20..2adf61d 100644
--- a/xfontsel.c
+++ b/xfontsel.c
@@ -67,7 +67,7 @@ Modified: Mark Leisher <mleisher@crl.nmsu.edu> to deal with UCS sample text.
void GetFontNames(XtPointer closure);
Boolean Matches(String pattern, String fontName, Boolean fields[], int *maxfields);
Boolean DoWorkPiece(XtPointer closure);
-void Quit(Widget w, XtPointer closure, XtPointer callData);
+void Quit(Widget w, XtPointer closure, XtPointer callData) _X_NORETURN;
void OwnSelection(Widget w, XtPointer closure, XtPointer callData);
void SelectField(Widget w, XtPointer closure, XtPointer callData);
void ParseFontNames(XtPointer closure);
@@ -79,7 +79,8 @@ void AnyValue(Widget w, XtPointer closure, XtPointer callData);
void EnableOtherValues(Widget w, XtPointer closure, XtPointer callData);
void EnableMenu(XtPointer closure);
void SetCurrentFont(XtPointer closure);
-void QuitAction(Widget w, XEvent *event, String *params, Cardinal *num_params);
+void QuitAction(Widget w, XEvent *event, String *params, Cardinal *num_params)
+ _X_NORETURN;
static XtActionsRec xfontsel_actions[] = {
{"Quit", QuitAction}