[glib: 5/6] Minor cleanups in mainloop tests
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 5/6] Minor cleanups in mainloop tests
- Date: Tue, 3 Dec 2019 12:38:08 +0000 (UTC)
commit e315918f52398e18927bcf3d3b8c37b29be9941d
Author: Sebastian Dröge <sebastian centricular com>
Date: Fri Nov 29 21:02:03 2019 +0100
Minor cleanups in mainloop tests
glib/tests/mainloop.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
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 <stdio.h>
#include <string.h>
-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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]