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/circuit.h | |
parent | cba9c4efa80764010810c602965ba768fb7d3206 (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.
svn path=/trunk/; revision=20485
Diffstat (limited to 'epan/circuit.h')
-rw-r--r-- | epan/circuit.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/circuit.h b/epan/circuit.h index 7e802ba62b..1271706a33 100644 --- a/epan/circuit.h +++ b/epan/circuit.h @@ -27,6 +27,10 @@ #include "packet.h" /* for circuit dissector type */ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* * Data structure representing a circuit. */ @@ -69,5 +73,8 @@ extern gboolean try_circuit_dissector(circuit_type ctype, guint32 circuit_id, guint32 frame, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); -#endif /* circuit.h */ +#ifdef __cplusplus +} +#endif /* __cplusplus */ +#endif /* circuit.h */ |