util: make log_() static
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Mon, 26 Jun 2017 11:17:33 +0000 (13:17 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/util.c

index 0ce7c27..af32269 100644 (file)
@@ -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);