do not prototype capture_eth() unless capture.h has being included
svn path=/trunk/; revision=13425
This commit is contained in:
parent
9151efab45
commit
1e8a726aad
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue