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/column-utils.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/column-utils.h')
-rw-r--r-- | epan/column-utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/column-utils.h b/epan/column-utils.h index 3f84a7dcc3..141e9ce25d 100644 --- a/epan/column-utils.h +++ b/epan/column-utils.h @@ -31,6 +31,10 @@ #include "column_info.h" #include "packet_info.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /** Maximum length of columns (except COL_INFO). * Internal, don't use this in dissectors! */ @@ -205,5 +209,8 @@ extern void col_append_sep_fstr(column_info *cinfo, gint col, const gchar *sep, const gchar *format, ...) GNUC_FORMAT_CHECK(printf, 4, 5); +#ifdef __cplusplus +} +#endif /* __cplusplus */ #endif /* __COLUMN_UTILS_H__ */ |