aboutsummaryrefslogtreecommitdiffstats
path: root/tap-rtp.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2008-09-21 14:50:05 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2008-09-21 14:50:05 +0000
commitab46055ac57b65a0510b907ebbff8e3fce74d69e (patch)
treea1fd59cfb8c12cb1274f832e792eb2bce51cbe8d /tap-rtp.c
parent04eb554d80648ac55fab9dcfe88e4accb6646730 (diff)
Don't define a static variable (the_tapinfo_struct) in a header file; instead declare it in each C file that needs it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26244 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tap-rtp.c')
-rw-r--r--tap-rtp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tap-rtp.c b/tap-rtp.c
index 72010ac1d1..6823d4198e 100644
--- a/tap-rtp.c
+++ b/tap-rtp.c
@@ -54,7 +54,10 @@
#include "register.h"
#include "tap-rtp-common.h"
-
+/* The one and only global rtpstream_tapinfo_t structure for tshark and wireshark.
+ */
+static rtpstream_tapinfo_t the_tapinfo_struct =
+ {0, NULL, 0, TAP_ANALYSE, NULL, NULL, NULL, 0, FALSE};
static void
rtp_streams_stat_draw(void *arg _U_)