[virt-tools-list] [virt-viewer PATCH 3/5] Fix prototype of function with no arguments
Marc-André Lureau
marcandre.lureau at redhat.com
Wed Feb 13 17:26:03 UTC 2019
On Wed, Feb 13, 2019 at 6:06 PM Daniel P. Berrangé <berrange at redhat.com> wrote:
>
> Modern C standard requires the function to be "void"
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> ---
> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
More information about the virt-tools-list
mailing list