summaryrefslogtreecommitdiff
path: root/src/xserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xserver.cpp')
-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.");