aboutsummaryrefslogtreecommitdiffstats
path: root/disabled_protos.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
committerGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
commit6b178bd41548b561913be45a6ee649a497ec5d1f (patch)
tree81727fd787260953b047a6b711a1ebb3a6946684 /disabled_protos.h
parentcb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff)
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'disabled_protos.h')
-rw-r--r--disabled_protos.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/disabled_protos.h b/disabled_protos.h
index 6bee1e6f71..3314cceb29 100644
--- a/disabled_protos.h
+++ b/disabled_protos.h
@@ -23,6 +23,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifndef DISABLED_PROTOS_H
+#define DISABLED_PROTOS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* Item in a list of disabled protocols.
*/
@@ -59,3 +66,9 @@ void set_disabled_protos_list(void);
* and "*errno_return" is set to the error.
*/
void save_disabled_protos_list(char **pref_path_return, int *errno_return);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* DISABLED_PROTOS_H */