diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2010-12-01 18:25:18 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2010-12-01 18:25:18 +0000 |
commit | 462245684a2fbc7daaa135ccb1f6406f9be22b8f (patch) | |
tree | 4a738a4a5d26798181bd9c64d97e65e36e282055 /wsutil/privileges.h | |
parent | efc64e43f677ec503c318eb221b8f03e3198b924 (diff) |
Add extern "C" to more header files.
svn path=/trunk/; revision=35093
Diffstat (limited to 'wsutil/privileges.h')
-rw-r--r-- | wsutil/privileges.h | 8 |
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__ */ |