From bf82ec0402479fd8399d69e7d62fc17d7956699a Mon Sep 17 00:00:00 2001 From: walter harms Date: Sat, 4 Jun 2016 17:22:07 +0200 Subject: [PATCH] mark _XDefaultIOError as no_return mark _XDefaultIOError as no_return. No one comes back from exit() ... Signed-off-by: harms wharms@bfs.de --- src/XlibInt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XlibInt.c b/src/XlibInt.c index 4c8eaeb7..075648e6 100644 --- a/src/XlibInt.c +++ b/src/XlibInt.c @@ -1238,7 +1238,7 @@ _XWireToEvent( * _XDefaultIOError - Default fatal system error reporting routine. Called * when an X internal system error is encountered. */ -int _XDefaultIOError( +_X_NORETURN int _XDefaultIOError( Display *dpy) { if (ECHECK(EPIPE)) {