[PATCH:libXt 3/6] Mark non-returning function with appropriate attribute.
Thomas Klausner
wiz at NetBSD.org
Tue Jun 25 15:43:03 PDT 2013
---
src/Error.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
1.8.3.1
More information about the xorg-devel
mailing list