* 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>
* 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
"Comment" field in XML short style. For symmetry, this is also allowed
from the equivalent "description" AD attribute. */
char *
static char *
fetch_from_description (PCWSTR desc, PCWSTR search, size_t len)
{
PWCHAR s, e;
@ -838,7 +838,7 @@ fetch_from_description (PCWSTR desc, PCWSTR search, size_t len)
return ret;
}
char *
static char *
fetch_from_path (PCWSTR str, PCWSTR dom, PCWSTR name, bool full_qualified)
{
tmp_pathbuf tp;