diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-09-21 14:50:05 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-09-21 14:50:05 +0000 |
commit | 4dcba9a359805e57ec263e3238881f507d1f94a6 (patch) | |
tree | a1fd59cfb8c12cb1274f832e792eb2bce51cbe8d /tap-rtp.c | |
parent | 612463c1395cdbbfaaf67785221ff93a29715332 (diff) | |
download | wireshark-4dcba9a359805e57ec263e3238881f507d1f94a6.tar.gz wireshark-4dcba9a359805e57ec263e3238881f507d1f94a6.tar.bz2 wireshark-4dcba9a359805e57ec263e3238881f507d1f94a6.zip |
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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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_) |