summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-10-26 11:44:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-10-29 08:53:42 +1000
commit2ebc18defae1a0eb0f7387cdb3e8acd8fd477651 (patch)
treef69b4123691bc9fe61f7b5962b7fecd562fe14ff
parent2e70aa20844a877c9148c7ba29c25710b2bd4624 (diff)
xserver: shut up compiler warning
_x_io_error_handler is a noreturn function. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xserver.cpp b/src/xserver.cpp
index d41fcb4..21fca15 100644
--- a/src/xserver.cpp
+++ b/src/xserver.cpp
@@ -397,6 +397,7 @@ const std::string& xorg::testing::XServer::GetVersion(void) {
return d_->version;
}
+static int _x_io_error_handler(Display *dpy) _X_NORETURN;
static int _x_io_error_handler(Display *dpy)
{
throw xorg::testing::XIOError("Connection to X Server lost. Possible server crash.");