Modern C standard requires the function to be "void" Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> --- src/virt-viewer-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c index 03a7c00..c46ce15 100644 --- a/src/virt-viewer-app.c +++ b/src/virt-viewer-app.c @@ -315,7 +315,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()); } -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list