diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-12-02 13:28:42 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-12-02 13:28:42 +0300 |
commit | 195a9205e5c8d6ddded25c7dca736105ed9a1e86 (patch) | |
tree | 01d3afb9f16feb39450a0aa74cea25c45c81a54e /winsup | |
parent | 9119d13db870473f40d7678a980009e12a0d2379 (diff) |
* uinfo.cc (fetch_from_description): Make static.
(fetch_from_path): Ditto.
Diffstat (limited to 'winsup')
-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; |