diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-11-20 16:46:11 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-11-20 16:46:11 +0000 |
commit | 0b570a43876fa59e69b988b70a6f229058a27669 (patch) | |
tree | 9c55da7b3ac2a8ae1c8dddf343e33e187314f69e /epan | |
parent | 0bc7907d25f1d079225c14cc4cb83be3a0c91f30 (diff) |
Update some comments and whitespace.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23509 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/privileges.c | 2 | ||||
-rw-r--r-- | epan/privileges.h | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/epan/privileges.c b/epan/privileges.c index a09799801a..e8c6d656e3 100644 --- a/epan/privileges.c +++ b/epan/privileges.c @@ -43,7 +43,7 @@ void get_credential_info(void) { -npf_sys_is_running(); + npf_sys_is_running(); } /* diff --git a/epan/privileges.h b/epan/privileges.h index 29777c8546..e45b77807f 100644 --- a/epan/privileges.h +++ b/epan/privileges.h @@ -29,21 +29,24 @@ extern void get_credential_info(void); /** - * Was this program started with special privileges? + * Was this program started with special privileges? get_credential_info() + * MUST be called before calling this. * @return TRUE if the program was started with special privileges, * FALSE otherwise. */ extern gboolean started_with_special_privs(void); /** - * Is this program running with special privileges? + * Is this program running with special privileges? get_credential_info() + * MUST be called before calling this. * @return TRUE if the program is running with special privileges, * FALSE otherwise. */ extern gboolean running_with_special_privs(void); /** - * Permanently relinquish special privileges. + * Permanently relinquish special privileges. get_credential_info() + * MUST be called before calling this. */ extern void relinquish_special_privs_perm(void); |