diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-01-18 18:43:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-01-18 18:43:30 +0000 |
commit | 0fb0fa8794861d6bb6beaa286252a5f834003182 (patch) | |
tree | 31dcc82b880094f7adc83befdcb58da4645cb757 /epan/bridged_pids.h | |
parent | cba9c4efa80764010810c602965ba768fb7d3206 (diff) | |
download | wireshark-0fb0fa8794861d6bb6beaa286252a5f834003182.tar.gz |
Put
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
...
#ifdef __cplusplus
}
#endif /* __cplusplus */
wrappers into some header files, for the benefit of C++ plugins. Also,
add multiple-include protections.
svn path=/trunk/; revision=20485
Diffstat (limited to 'epan/bridged_pids.h')
-rw-r--r-- | epan/bridged_pids.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/bridged_pids.h b/epan/bridged_pids.h index e3c0384a0a..fa2a12f12f 100644 --- a/epan/bridged_pids.h +++ b/epan/bridged_pids.h @@ -26,6 +26,10 @@ #ifndef __BRIDGED_PID_H__ #define __BRIDGED_PID_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define BPID_ETH_WITH_FCS 0x0001 /* 802.3/Ethernet with preserved FCS */ #define BPID_ETH_WITHOUT_FCS 0x0007 /* 802.3/Ethernet without preserved FCS */ @@ -47,4 +51,8 @@ #define BPID_SR_BPDU 0x000F /* Source Routing BPDUs */ -#endif +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* bridged_pid.h */ |