aboutsummaryrefslogtreecommitdiffstats
path: root/disabled_protos.h
diff options
context:
space:
mode:
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 */