summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-26 13:17:33 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit1cdae57a5ac7f1fecb6d3c7f7cef019e331c43a2 (patch)
treeb17ccc285b0c894070f353ebd0467f7372f3c5d8
parent0794731455fbf919882c8a9cc03dd42c66117a93 (diff)
util: make log_() static
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--src/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 0ce7c27..af32269 100644
--- a/src/util.c
+++ b/src/util.c
@@ -11,7 +11,8 @@ struct strftime_cache {
char buf[128];
};
-void log_(char const *log_type, FILE *stream, char const *fmt, va_list args) {
+static void log_(char const *log_type, FILE *stream, char const *fmt,
+ va_list args) {
static struct strftime_cache strft;
time_t t = time(NULL);