From f7eb34c2af7295bc027616019b4045721cf5b1f9 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Fri, 30 Jan 2015 10:54:03 -0500 Subject: [PATCH] string: Make _time_detail() static Signed-off-by: Anna Schumaker --- core/string.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/string.cpp b/core/string.cpp index 82535619..747d4aef 100644 --- a/core/string.cpp +++ b/core/string.cpp @@ -29,8 +29,9 @@ const std::string string :: sec2str(unsigned int sec) return ss.str(); } -const std::string _time_detail(unsigned int value, unsigned int remaining, - const std::string &field) +static const std::string _time_detail(unsigned int value, + unsigned int remaining, + const std::string &field) { std::string res;