diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-12-29 00:08:47 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-12-29 00:08:47 +0000 |
commit | 6b178bd41548b561913be45a6ee649a497ec5d1f (patch) | |
tree | 81727fd787260953b047a6b711a1ebb3a6946684 /epan/prefs.h | |
parent | cb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff) |
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'epan/prefs.h')
-rw-r--r-- | epan/prefs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h index cec0a4af46..eae802e3d7 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -25,6 +25,10 @@ #ifndef __PREFS_H__ #define __PREFS_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include <glib.h> #include "color.h" @@ -462,4 +466,8 @@ extern gboolean prefs_is_capture_device_hidden(const char *name); */ extern gboolean prefs_capture_device_monitor_mode(const char *name); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* prefs.h */ |