From 4dcba9a359805e57ec263e3238881f507d1f94a6 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Sun, 21 Sep 2008 14:50:05 +0000 Subject: 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 --- tap-rtp-common.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tap-rtp-common.h') 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*/ -- cgit v1.2.3