From 195a9205e5c8d6ddded25c7dca736105ed9a1e86 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 2 Dec 2014 10:28:42 +0000 Subject: [PATCH] * uinfo.cc (fetch_from_description): Make static. (fetch_from_path): Ditto. --- winsup/cygwin/ChangeLog | 5 +++++ 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,3 +1,8 @@ +2014-12-02 Corinna Vinschen + + * uinfo.cc (fetch_from_description): Make static. + (fetch_from_path): Ditto. + 2014-12-02 Corinna Vinschen * autoload.cc (CreateEnvironmentBlock): Import. 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;