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=08b3eba2ce5f8beafb2b8cb8fc8b08c9676adf5f;hpb=e7aa65fdc44e1989fd837b56db4af59c765f8489 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;