projects
/
cascardo
/
gnio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Starting the NetworkStreams. HTTP to www.google.com works
[cascardo/gnio.git]
/
test
/
test-stuff.c
diff --git
a/test/test-stuff.c
b/test/test-stuff.c
index
4209e86
..
791748e
100644
(file)
--- a/
test/test-stuff.c
+++ b/
test/test-stuff.c
@@
-11,9
+11,9
@@
GMainLoop *loop;
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));
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);
}
g_free (string);
}
-void
+
static
void
resolve_callback (GObject *source, GAsyncResult *result, gpointer data)
{
GError *error = NULL;
resolve_callback (GObject *source, GAsyncResult *result, gpointer data)
{
GError *error = NULL;