diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-09-21 14:50:05 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-09-21 14:50:05 +0000 |
commit | ab46055ac57b65a0510b907ebbff8e3fce74d69e (patch) | |
tree | a1fd59cfb8c12cb1274f832e792eb2bce51cbe8d /tap-rtp.c | |
parent | 04eb554d80648ac55fab9dcfe88e4accb6646730 (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.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_) |