diff --git a/examples/client/wayland_client.c b/examples/client/wayland_client.c index 2cf9968cd9f..21c7aff4399 100644 --- a/examples/client/wayland_client.c +++ b/examples/client/wayland_client.c @@ -49,7 +49,7 @@ static struct globals struct xdg_wm_base *xdg_wm_base; } globals; -void check_globals() +void check_globals(void) { bool fail = false; if (!globals.compositor) { puts("ERROR: no wl_compositor*"); fail = true; }