Silence warnings

This commit is contained in:
Chris Lee
2018-12-31 18:23:41 +01:00
parent c76f056746
commit 15d2570a3e
7 changed files with 28 additions and 11 deletions

View File

@@ -36,8 +36,9 @@
Server server;
void server_catch_error(Display *d, XErrorEvent *ev)
int server_catch_error(Display *d, XErrorEvent *ev)
{
return 0;
}
void server_init_atoms()
@@ -676,9 +677,10 @@ void handle_crash(const char *reason)
#endif
}
void x11_io_error(Display *display)
int x11_io_error(Display *display)
{
handle_crash("X11 I/O error");
return 0;
}
#ifdef HAVE_SN