aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-26 00:44:47 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-26 00:44:47 +0000
commit4639ab37453baa3307cc45784cd067594c639bad (patch)
treec1e2bf41ac3daadba5325f19267c59efafb899eb /tshark.c
parentb314d74addf7e79754ee1a5a89ad022ff7cc56fd (diff)
the Ubuntu / OS X buildbots don't seem to like G_STATIC_MUTEX_INIT (for whatever reason), try to use g_static_mutex_init() instead
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22977 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 221f08583c..d716ad96a0 100644
--- a/tshark.c
+++ b/tshark.c
@@ -1694,7 +1694,7 @@ void pipe_input_set_handler(gint source, gpointer user_data, int *child_process,
pipe_input.child_process = child_process;
pipe_input.user_data = user_data;
pipe_input.input_cb = input_cb;
- pipe_input.callback_running = G_STATIC_MUTEX_INIT;
+ g_static_mutex_init(&pipe_input.callback_running);
#ifdef _WIN32
/* Tricky to use pipes in win9x, as no concept of wait. NT can