X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fgnio.git;a=blobdiff_plain;f=test%2Ftest-stuff.c;fp=test%2Ftest-stuff.c;h=791748e69dbbd6b353d663a193fa6457e2811ca7;hp=4209e86563373339839b49b979fd1d0123ea8229;hb=932359e12259081300067d273febe261eee0c870;hpb=5183a9b80c8a22531948af76f4433f0a1a510cbc diff --git a/test/test-stuff.c b/test/test-stuff.c index 4209e86..791748e 100644 --- a/test/test-stuff.c +++ b/test/test-stuff.c @@ -11,9 +11,9 @@ GMainLoop *loop; -void print_address (GInetAddress *address, gpointer data); +static void print_address (GInetAddress *address, gpointer data); -void +static void print_address (GInetAddress *address, gpointer data) { gchar *string = g_inet_address_to_string (G_INET_ADDRESS (address)); @@ -23,7 +23,7 @@ print_address (GInetAddress *address, gpointer data) g_free (string); } -void +static void resolve_callback (GObject *source, GAsyncResult *result, gpointer data) { GError *error = NULL;