aboutsummaryrefslogtreecommitdiffstats
path: root/tap-rtp.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2008-09-21 14:50:05 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2008-09-21 14:50:05 +0000
commit4dcba9a359805e57ec263e3238881f507d1f94a6 (patch)
treea1fd59cfb8c12cb1274f832e792eb2bce51cbe8d /tap-rtp.c
parent612463c1395cdbbfaaf67785221ff93a29715332 (diff)
Don't define a static variable (the_tapinfo_struct) in a header file; instead declare it in each C file that needs it.
svn path=/trunk/; revision=26244
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_)