summaryrefslogtreecommitdiff
path: root/epan/afn.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/afn.h
parentcba9c4efa80764010810c602965ba768fb7d3206 (diff)
downloadwireshark-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/afn.h')
-rw-r--r--epan/afn.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/afn.h b/epan/afn.h
index a8f25bb5f7..268a8143c7 100644
--- a/epan/afn.h
+++ b/epan/afn.h
@@ -25,6 +25,10 @@
#ifndef __AFN_H__
#define __AFN_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* Address family numbers, from
*
@@ -60,4 +64,8 @@
#define AFNUM_L2VPN_OLD 196
extern const value_string afn_vals[];
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __AFN_H__ */