wt-status.c: mark a private file-scope symbol as static
authorJunio C Hamano <gitster@pobox.com>
Sun, 16 Sep 2012 05:46:26 +0000 (22:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 16 Sep 2012 05:58:21 +0000 (22:58 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wt-status.c
wt-status.h

index 4eeaf23..2a9658b 100644 (file)
@@ -100,8 +100,8 @@ void status_printf(struct wt_status *s, const char *color,
        va_end(ap);
 }
 
-void status_printf_more(struct wt_status *s, const char *color,
-                       const char *fmt, ...)
+static void status_printf_more(struct wt_status *s, const char *color,
+                              const char *fmt, ...)
 {
        va_list ap;
 
index f8fc58c..236b41f 100644 (file)
@@ -92,7 +92,5 @@ void status_printf_ln(struct wt_status *s, const char *color, const char *fmt, .
        ;
 void status_printf(struct wt_status *s, const char *color, const char *fmt, ...)
        ;
-void status_printf_more(struct wt_status *s, const char *color, const char *fmt, ...)
-       __attribute__((format(printf, 3, 4)));
 
 #endif /* STATUS_H */