From dd6a15e1c7810fade4be35d45a894b4e95aa513a Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 5 Aug 2008 17:33:14 +0000 Subject: 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 --- gtk/rtp_stream.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gtk/rtp_stream.c') 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) -- cgit v1.2.3