From 06220f7fdff5b088386a53451cde8a5f5d47687c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 7 Dec 2012 23:14:20 +0900 Subject: [PATCH] shrpx: Make is_secure() static --- src/shrpx_config.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shrpx_config.cc b/src/shrpx_config.cc index 4cb20780..151ce022 100644 --- a/src/shrpx_config.cc +++ b/src/shrpx_config.cc @@ -129,6 +129,7 @@ int split_host_port(char *host, size_t hostlen, uint16_t *port_ptr, } } // namespace +namespace { bool is_secure(const char *filename) { struct stat buf; @@ -143,6 +144,7 @@ bool is_secure(const char *filename) return false; } +} // namespace std::string read_passwd_from_file(const char *filename) {