Fix prototype of function with no arguments

Modern C standard requires the function to be "void"

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2019-02-12 14:19:56 +00:00
parent 9e16ee09cf
commit 9e4cc377a5

View File

@ -307,7 +307,7 @@ virt_viewer_app_quit(VirtViewerApp *self)
}
static gint
get_n_client_monitors()
get_n_client_monitors(void)
{
return gdk_screen_get_n_monitors(gdk_screen_get_default());
}