diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/uinfo.cc | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8e7bebad4..960d1ce03 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 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. (DestroyEnvironmentBlock): Import. * environ.cc (env_compare): New static bsearch comparison function. diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 1401697a7..e0243d4ac 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -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; |