diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-05-16 07:25:31 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-05-16 07:25:31 +0000 |
commit | 486212579e0a96c74f39dc4554d9a6be310d8fcc (patch) | |
tree | 5efec021a77311a864344babcd74f960d32be52e /winsup/cygwin/sec_helper.cc | |
parent | d61b1993b36f3e7459c37db692c321654af3662e (diff) | |
download | cygnal-486212579e0a96c74f39dc4554d9a6be310d8fcc.tar.gz cygnal-486212579e0a96c74f39dc4554d9a6be310d8fcc.tar.bz2 cygnal-486212579e0a96c74f39dc4554d9a6be310d8fcc.zip |
* sec_helper.cc (legal_sid_type): Fix conditional. Change to
inline function.
Diffstat (limited to 'winsup/cygwin/sec_helper.cc')
-rw-r--r-- | winsup/cygwin/sec_helper.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc index 8b389f66f..31672a8cf 100644 --- a/winsup/cygwin/sec_helper.cc +++ b/winsup/cygwin/sec_helper.cc @@ -238,11 +238,11 @@ cygsid::get_id (BOOL search_grp, int *type) return id; } -static BOOL +static inline BOOL legal_sid_type (SID_NAME_USE type) { - return type == SidTypeUser || type == SidTypeGroup - || SidTypeAlias || SidTypeWellKnownGroup; + return type == SidTypeUser || type == SidTypeGroup + || type == SidTypeAlias || type == SidTypeWellKnownGroup; } BOOL |