summaryrefslogtreecommitdiff
path: root/src/Error.c
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2013-06-26 00:43:03 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-08 23:41:41 -0700
commit71c76a6c500761a2ca0091a55b8c106906fcb125 (patch)
treeb481689831d3aa26e73c677c19bc8c6dc25db1cd /src/Error.c
parentce57783ea5b5c47f5dca172d36a76f91dd7704df (diff)
Mark non-returning function with appropriate attribute.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Error.c')
-rw-r--r--src/Error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Error.c b/src/Error.c
index fc9b11a..50f6c3c 100644
--- a/src/Error.c
+++ b/src/Error.c
@@ -89,7 +89,7 @@ static XrmDatabase errorDB = NULL;
static Boolean error_inited = FALSE;
void _XtDefaultErrorMsg(String, String, String, String, String*, Cardinal*);
void _XtDefaultWarningMsg(String, String, String, String, String*, Cardinal*);
-void _XtDefaultError(String);
+void _XtDefaultError(String) _X_NORETURN;
void _XtDefaultWarning(String);
static XtErrorMsgHandler errorMsgHandler = _XtDefaultErrorMsg;
static XtErrorMsgHandler warningMsgHandler = _XtDefaultWarningMsg;