On Thu, Sep 27, 2018 at 6:27 PM Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx> wrote: > > Fixes the following warnings: > > ../tests/usb-acl-helper.c:29:10: warning: no previous prototype for ‘abort_test’ [-Wmissing-prototypes] > gboolean abort_test(gpointer user_data) > ^~~~~~~~~~ > ../tests/usb-acl-helper.c:37:10: warning: no previous prototype for ‘cancel_test’ [-Wmissing-prototypes] > gboolean cancel_test(gpointer user_data) > ^~~~~~~~~~~ > > Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx> ack > --- > tests/usb-acl-helper.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/usb-acl-helper.c b/tests/usb-acl-helper.c > index 2b28ade..b24f452 100644 > --- a/tests/usb-acl-helper.c > +++ b/tests/usb-acl-helper.c > @@ -26,7 +26,7 @@ typedef struct { > guint timeout_source; > } Fixture; > > -gboolean abort_test(gpointer user_data) > +static gboolean abort_test(gpointer user_data) > { > Fixture *fixture = user_data; > g_cancellable_cancel(fixture->cancellable); > @@ -34,7 +34,7 @@ gboolean abort_test(gpointer user_data) > return G_SOURCE_REMOVE; > } > > -gboolean cancel_test(gpointer user_data) > +static gboolean cancel_test(gpointer user_data) > { > Fixture *fixture = user_data; > g_cancellable_cancel(fixture->cancellable); > -- > 2.17.1 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/spice-devel -- Marc-André Lureau _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel