do not prototype capture_eth() unless capture.h has being included

svn path=/trunk/; revision=13425
This commit is contained in:
Luis Ontanon 2005-02-18 20:19:52 +00:00
parent 9151efab45
commit 1e8a726aad

View file

@ -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);