aboutsummaryrefslogtreecommitdiffstats
path: root/epan/address.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-01-18 18:43:30 +0000
committerGuy Harris <guy@alum.mit.edu>2007-01-18 18:43:30 +0000
commit0fb0fa8794861d6bb6beaa286252a5f834003182 (patch)
tree31dcc82b880094f7adc83befdcb58da4645cb757 /epan/address.h
parentcba9c4efa80764010810c602965ba768fb7d3206 (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/address.h')
-rw-r--r--epan/address.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/address.h b/epan/address.h
index 6a57ba38e9..0f202a3008 100644
--- a/epan/address.h
+++ b/epan/address.h
@@ -26,6 +26,10 @@
#ifndef __ADDRESS_H__
#define __ADDRESS_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/* Types of addresses Wireshark knows about. */
/* If a new address type is added here, a string representation procedure should */
/* also be included in address_to_str_buf defined in to_str.c, for presentation purposes */
@@ -137,5 +141,8 @@ typedef enum {
/* Could also have ATM VPI/VCI pairs */
} circuit_type;
-#endif /* __ADDRESS_H__ */
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* __ADDRESS_H__ */