4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-18 23:12:15 +08:00

* uinfo.cc (fetch_from_description): Make static.

(fetch_from_path): Ditto.
This commit is contained in:
Corinna Vinschen 2014-12-02 10:28:42 +00:00
parent 9119d13db8
commit 195a9205e5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-12-02 Corinna Vinschen <corinna@vinschen.de>
* uinfo.cc (fetch_from_description): Make static.
(fetch_from_path): Ditto.
2014-12-02 Corinna Vinschen <corinna@vinschen.de> 2014-12-02 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (CreateEnvironmentBlock): Import. * autoload.cc (CreateEnvironmentBlock): Import.

View File

@ -807,7 +807,7 @@ cygheap_pwdgrp::nss_init_line (const char *line)
Therefore, allow to fetch additional passwd/group attributes from the Therefore, allow to fetch additional passwd/group attributes from the
"Comment" field in XML short style. For symmetry, this is also allowed "Comment" field in XML short style. For symmetry, this is also allowed
from the equivalent "description" AD attribute. */ from the equivalent "description" AD attribute. */
char * static char *
fetch_from_description (PCWSTR desc, PCWSTR search, size_t len) fetch_from_description (PCWSTR desc, PCWSTR search, size_t len)
{ {
PWCHAR s, e; PWCHAR s, e;
@ -838,7 +838,7 @@ fetch_from_description (PCWSTR desc, PCWSTR search, size_t len)
return ret; return ret;
} }
char * static char *
fetch_from_path (PCWSTR str, PCWSTR dom, PCWSTR name, bool full_qualified) fetch_from_path (PCWSTR str, PCWSTR dom, PCWSTR name, bool full_qualified)
{ {
tmp_pathbuf tp; tmp_pathbuf tp;