]> Pileus Git - ~andy/git/commitdiff
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 4eeaf2396a0b6eb19519bbeb389c8b5d63955f18..2a9658bad4c5035893e9363b51985f285dd3b34c 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 f8fc58cc0ac8ec73d81fba441b1899b934eaadb4..236b41fd345ca3dd95ce450ac3fb3fca2b725e47 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 */