aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rtp_stream.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2008-08-05 17:33:14 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2008-08-05 17:33:14 +0000
commitdd6a15e1c7810fade4be35d45a894b4e95aa513a (patch)
tree53de3edef40b3816f0798ce7edc57eeb923bcfa9 /gtk/rtp_stream.c
parent10260fb76b6f1f6b603abcced06fa68d8cb76756 (diff)
Don't put (non-extern'd) prototypes for protect_thread_critical_region() and
unprotect_thread_critical_region() in every module in gtk/: instead have those modules include main.h (which has the properly extern'd prototype). This should fix the link error on HP-UX described in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2702 svn path=/trunk/; revision=25933
Diffstat (limited to 'gtk/rtp_stream.c')
-rw-r--r--gtk/rtp_stream.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/rtp_stream.c b/gtk/rtp_stream.c
index 2b4c52cf13..efca6b83fc 100644
--- a/gtk/rtp_stream.c
+++ b/gtk/rtp_stream.c
@@ -54,6 +54,7 @@
#include "gtk/rtp_stream.h"
#include "gtk/rtp_stream_dlg.h"
+#include "gtk/main.h"
/****************************************************************************/
@@ -158,10 +159,6 @@ const rtpstream_tapinfo_t* rtpstream_get_info(void)
/* TAP INTERFACE */
/****************************************************************************/
-/* XXX just copied from gtk/rpc_stat.c */
-void protect_thread_critical_region(void);
-void unprotect_thread_critical_region(void);
-
/****************************************************************************/
void
remove_tap_listener_rtp_stream(void)