summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2004-02-25 23:48:22 +0000
committerHans Breuer <hans@src.gnome.org>2004-02-25 23:48:22 +0000
commitfc9afe0d219ad7bb16c2ba8ce2a1e268bdd25479 (patch)
tree802577aedde2c25daa79cdbfe04fe9cd45f27775 /tests
parent28a267e306abd2be1997d86e7b2d9d3c567e2674 (diff)
added g_hash_table_find and a bunch of g_queue_*
2003-02-26 Hans Breuer <hans@breuer.org> * glib/glib.def : added g_hash_table_find and a bunch of g_queue_* * glib/gmain.c : make it compile on win32, child_wake_up_pipe replaced by semaphore like it is done for the other wake_up_pipe * config.h.win32.in : added HAVE_INT64_AND_I64 * glibconfig.h.win32.in : G_MAXSIZE .. G_M??INT64, and typedef for GPid * test/env-test.c : don't let the local log function collide in namespace with standard C
Diffstat (limited to 'tests')
-rw-r--r--tests/env-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/env-test.c b/tests/env-test.c
index 256f0f03b..2ec0cf41a 100644
--- a/tests/env-test.c
+++ b/tests/env-test.c
@@ -44,7 +44,7 @@
#endif
static void
-log (const gchar *log_domain,
+_log (const gchar *log_domain,
GLogLevelFlags log_level,
const gchar *message,
gpointer user_data)
@@ -62,7 +62,7 @@ main (int argc, char *argv[])
gchar *value1 = "works";
gchar *value2 = "again";
- g_log_set_handler ("GLib", G_LOG_LEVEL_CRITICAL, log, NULL);
+ g_log_set_handler ("GLib", G_LOG_LEVEL_CRITICAL, _log, NULL);
data = g_getenv (variable);
g_assert (data == NULL && "TEST_G_SETENV already set");