From 3cd1762f988b6b884b0aea7c7c74e8c1bcb35560 Mon Sep 17 00:00:00 2001 From: lego Date: Fri, 18 Feb 2005 20:19:52 +0000 Subject: [PATCH] do not prototype capture_eth() unless capture.h has being included git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13425 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-eth.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/epan/dissectors/packet-eth.h b/epan/dissectors/packet-eth.h index df190750d9..be98c9cef7 100644 --- a/epan/dissectors/packet-eth.h +++ b/epan/dissectors/packet-eth.h @@ -30,7 +30,9 @@ typedef struct _eth_hdr { guint16 type; } eth_hdr; +#ifdef __CAPTURE_H__ void capture_eth(const guchar *, int, int, packet_counts *); +#endif void add_ethernet_trailer(proto_tree *fh_tree, int trailer_id, tvbuff_t *tvb, tvbuff_t *trailer_tvb, int fcs_len); -- 2.34.1