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-common.h | |
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-common.h')
-rw-r--r-- | tap-rtp-common.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tap-rtp-common.h b/tap-rtp-common.h index b7b07a8bfe..3ad22e2689 100644 --- a/tap-rtp-common.h +++ b/tap-rtp-common.h @@ -40,10 +40,4 @@ void rtp_write_header(rtp_stream_info_t*, FILE*); void rtp_write_sample(rtp_sample_t*, FILE*); int rtpstream_packet(void*, packet_info*, epan_dissect_t *, const void *); -/* 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}; - - #endif /*TAP_RTP_COMMON_H_INCLUDED*/ |