the Ubuntu / OS X buildbots don't seem to like G_STATIC_MUTEX_INIT (for whatever...
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 26 Sep 2007 00:44:47 +0000 (00:44 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 26 Sep 2007 00:44:47 +0000 (00:44 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22977 f5534014-38df-0310-8fa8-9805f1628bb7

tshark.c

index 221f08583cc2ba45e1fcf14d7fb856d3015cb7c3..d716ad96a0d5767e155e405dbe06d05f018f6157 100644 (file)
--- 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