diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-08-13 07:58:06 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-08-13 07:58:06 +0000 |
commit | 890093e0e47d53f77742c3e2659e034b0dbe255e (patch) | |
tree | f3c83cb7eaf5e7211a93d658005e0a87fcab7c10 /epan/etypes.h | |
parent | 1e9644c204e6aa4424536891b092b36425d26857 (diff) |
Wrap in "extern "C"" for the benefit of C++ code including it.
svn path=/trunk/; revision=51332
Diffstat (limited to 'epan/etypes.h')
-rw-r--r-- | epan/etypes.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/epan/etypes.h b/epan/etypes.h index 1d937f777c..b396d38ac1 100644 --- a/epan/etypes.h +++ b/epan/etypes.h @@ -26,6 +26,11 @@ #define __ETYPES_H__ #include "ws_symbol_export.h" + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include <epan/value_string.h> /* @@ -545,4 +550,8 @@ WS_DLL_PUBLIC const value_string etype_vals[]; -#endif /* etypes.h */ +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __ETYPES_H__ */ |