diff --git a/glib/tests/mainloop.c b/glib/tests/mainloop.c index 04be2e6c4..c3652a7e4 100644 --- a/glib/tests/mainloop.c +++ b/glib/tests/mainloop.c @@ -25,25 +25,29 @@ #include #include -static gboolean cb (gpointer data) +static gboolean +cb (gpointer data) { return FALSE; } -static gboolean prepare (GSource *source, gint *time) +static gboolean +prepare (GSource *source, gint *time) { return FALSE; } -static gboolean check (GSource *source) +static gboolean +check (GSource *source) { return FALSE; } -static gboolean dispatch (GSource *source, GSourceFunc cb, gpointer date) +static gboolean +dispatch (GSource *source, GSourceFunc cb, gpointer date) { return FALSE; } -GSourceFuncs funcs = { +static GSourceFuncs funcs = { prepare, check, dispatch,