Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-16 09:46:26 +0400
committerJunio C Hamano <gitster@pobox.com>2012-09-16 09:58:21 +0400
commit1e24845cc2265b616517aeb54fbe978f5ac0fa61 (patch)
treef9bab0f520875ee6099d1be6cb8e2ab7dba4744c
parent357e9c69c9069b2764d1b58d0074945f8a33ff09 (diff)
wt-status.c: mark a private file-scope symbol as static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--wt-status.c4
-rw-r--r--wt-status.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/wt-status.c b/wt-status.c
index 4eeaf2396a..2a9658bad4 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 f8fc58cc0a..236b41fd34 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 */