summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2016-09-03 15:57:57 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2016-09-03 15:57:57 +0100
commit6e88e90b8c89ea1de59db397c111af6afa659272 (patch)
tree2ab0df9376d7e7d8c67d8ee0e8598d472e928937
parent437f87a3fc61b0a3d0d3b8a8ed274e077ee9f53a (diff)
mark openErrorHandler() __dead
-rw-r--r--xdm/server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xdm/server.c b/xdm/server.c
index 4988ff8..e69c2f7 100644
--- a/xdm/server.c
+++ b/xdm/server.c
@@ -195,13 +195,11 @@ serverPause (unsigned t, pid_t serverPid)
return serverPauseRet;
}
-static int
+static __dead int
openErrorHandler (Display *dpy)
{
LogError ("IO Error in XOpenDisplay\n");
exit(OPENFAILED_DISPLAY);
- /*NOTREACHED*/
- return(0);
}
int