diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-01-18 18:43:30 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-01-18 18:43:30 +0000 |
commit | d3db87e9b74aae837aa3094aedd9c69939778e82 (patch) | |
tree | 31dcc82b880094f7adc83befdcb58da4645cb757 /epan/arptypes.h | |
parent | ead927552ff233ba0463f9a7aa8dc79db9002c5b (diff) |
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20485 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/arptypes.h')
-rw-r--r-- | epan/arptypes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/arptypes.h b/epan/arptypes.h index af4e527496..e57858a3f2 100644 --- a/epan/arptypes.h +++ b/epan/arptypes.h @@ -25,6 +25,10 @@ #ifndef __ARPTYPES_H__ #define __ARPTYPES_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* Definitions taken from Linux "linux/if_arp.h" header file, and from http://www.iana.org/assignments/arp-parameters @@ -61,4 +65,8 @@ #define ARPHRD_TWINAX 26 /* Twinaxial */ #define ARPHRD_EUI_64 27 /* EUI-64 */ +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* arptypes.h */ |