diff options
author | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-02-18 20:19:52 +0000 |
---|---|---|
committer | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-02-18 20:19:52 +0000 |
commit | 3cd1762f988b6b884b0aea7c7c74e8c1bcb35560 (patch) | |
tree | 6c2e33b01eda02527ea0801fc606e84cbc6582ea /epan/dissectors/packet-eth.h | |
parent | 9c7e6da678e644d7f26108ff78fbbb6378e4e122 (diff) |
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
Diffstat (limited to 'epan/dissectors/packet-eth.h')
-rw-r--r-- | epan/dissectors/packet-eth.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |