Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-12-02 13:28:42 +0300
committerCorinna Vinschen <corinna@vinschen.de>2014-12-02 13:28:42 +0300
commit195a9205e5c8d6ddded25c7dca736105ed9a1e86 (patch)
tree01d3afb9f16feb39450a0aa74cea25c45c81a54e /winsup
parent9119d13db870473f40d7678a980009e12a0d2379 (diff)
* uinfo.cc (fetch_from_description): Make static.
(fetch_from_path): Ditto.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/uinfo.cc4
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;