aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2010-12-01 18:25:18 +0000
committerStephen Fisher <steve@stephen-fisher.com>2010-12-01 18:25:18 +0000
commit462245684a2fbc7daaa135ccb1f6406f9be22b8f (patch)
tree4a738a4a5d26798181bd9c64d97e65e36e282055 /wsutil
parentefc64e43f677ec503c318eb221b8f03e3198b924 (diff)
Add extern "C" to more header files.
svn path=/trunk/; revision=35093
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/privileges.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wsutil/privileges.h b/wsutil/privileges.h
index 9bb1430c94..eed160d7b6 100644
--- a/wsutil/privileges.h
+++ b/wsutil/privileges.h
@@ -25,6 +25,10 @@
#ifndef __PRIVILEGES_H__
#define __PRIVILEGES_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Called when the program starts, to enable security features and save
* whatever credential information we'll need later.
@@ -76,4 +80,8 @@ extern gchar *get_cur_groupname(void);
extern gboolean npf_sys_is_running();
#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __PRIVILEGES_H__ */