diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-05-09 15:08:16 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-05-09 15:08:16 +0000 |
commit | a22af4a956ce1926fb69c8f522ecf3111ee372f4 (patch) | |
tree | 2ab604fafcd3083ced396995225dd1bbf9b150eb /winsup/cygwin/security.h | |
parent | 4dff3fed7d1e258f8a16e54c7c3e3410450fc64f (diff) | |
download | newlib-a22af4a956ce1926fb69c8f522ecf3111ee372f4.zip newlib-a22af4a956ce1926fb69c8f522ecf3111ee372f4.tar.gz newlib-a22af4a956ce1926fb69c8f522ecf3111ee372f4.tar.bz2 |
* sec_auth.cc (str2uni_cat): Move from here...
* path.cc (str2uni_cat): ...to here. Simplify. Make static inline.
(get_nt_native_path): Use RtlAppendUnicodeToString rather than
str2uni_cat for constant strings for speed.
* security.h (str2uni_cat): Drop declaration.
Diffstat (limited to 'winsup/cygwin/security.h')
-rw-r--r-- | winsup/cygwin/security.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/security.h b/winsup/cygwin/security.h index 9d306fe..7b09bc0 100644 --- a/winsup/cygwin/security.h +++ b/winsup/cygwin/security.h @@ -366,9 +366,6 @@ extern "C" int acl32 (const char *, int, int, __acl32 *); int getacl (HANDLE, path_conv &, int, __acl32 *); int setacl (HANDLE, path_conv &, int, __acl32 *, bool &); -struct _UNICODE_STRING; -void __stdcall str2uni_cat (_UNICODE_STRING &, const char *) __attribute__ ((regparm (2))); - /* Function creating a token by calling NtCreateToken. */ HANDLE create_token (cygsid &usersid, user_groups &groups, struct passwd * pw); /* LSA authentication function. */ |