Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-05-16 11:25:31 +0400
committerCorinna Vinschen <corinna@vinschen.de>2001-05-16 11:25:31 +0400
commit486212579e0a96c74f39dc4554d9a6be310d8fcc (patch)
tree5efec021a77311a864344babcd74f960d32be52e /winsup/cygwin/sec_helper.cc
parentd61b1993b36f3e7459c37db692c321654af3662e (diff)
* 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.cc6
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