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.h | |
parent | cba9c4efa80764010810c602965ba768fb7d3206 (diff) | |
download | wireshark-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/column.h')
-rw-r--r-- | epan/column.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/column.h b/epan/column.h index e17bd626aa..da09ce4704 100644 --- a/epan/column.h +++ b/epan/column.h @@ -25,6 +25,10 @@ #ifndef __COLUMN_H__ #define __COLUMN_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + typedef struct _fmt_data { gchar *title; gchar *fmt; @@ -40,4 +44,8 @@ const gchar *get_column_width_string(gint, gint); const char *get_column_longest_string(gint); gint get_column_char_width(gint format); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* column.h */ |