From: Junio C Hamano Date: Sun, 16 Sep 2012 05:46:26 +0000 (-0700) Subject: wt-status.c: mark a private file-scope symbol as static X-Git-Tag: v1.8.0-rc0~35^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e24845cc2265b616517aeb54fbe978f5ac0fa61;p=git.git wt-status.c: mark a private file-scope symbol as static Signed-off-by: Junio C Hamano --- diff --git a/wt-status.c b/wt-status.c index 4eeaf2396..2a9658bad 100644 --- a/wt-status.c +++ b/wt-status.c @@ -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; diff --git a/wt-status.h b/wt-status.h index f8fc58cc0..236b41fd3 100644 --- a/wt-status.h +++ b/wt-status.h @@ -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 */