* sec_helper.cc (legal_sid_type): Fix conditional. Change to

inline function.
This commit is contained in:
Corinna Vinschen 2001-05-16 07:25:31 +00:00
parent d61b1993b3
commit 486212579e
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Wed May 16 09:20:00 2001 Corinna Vinschen <corinna@vinschen.de>
* sec_helper.cc (legal_sid_type): Fix conditional. Change to
inline function.
Wed May 16 01:01:48 2001 Christopher Faylor <cgf@cygnus.com>
* autoload.h: Eliminate.

View File

@ -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