From 486212579e0a96c74f39dc4554d9a6be310d8fcc Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 16 May 2001 07:25:31 +0000 Subject: [PATCH] * sec_helper.cc (legal_sid_type): Fix conditional. Change to inline function. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/sec_helper.cc | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0b02d0f4c..e8c5838d3 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Wed May 16 09:20:00 2001 Corinna Vinschen + + * sec_helper.cc (legal_sid_type): Fix conditional. Change to + inline function. + Wed May 16 01:01:48 2001 Christopher Faylor * autoload.h: Eliminate. 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