trace.c: mark a private file-scope symbol as static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Sep 15, 2012 at 22:47 UTC
cbfb93a12b7f60dcd0f5a0cd3f5f37ee694ecd3a
2 files changed
+1
-2
cache.h
-1
@@ -1205,7 +1205,6 @@ extern void alloc_report(void);
1205
/* trace.c */
1206
__attribute__((format (printf, 1, 2)))
1207
extern void trace_printf(const char *format, ...);
1208
-extern void trace_vprintf(const char *key, const char *format, va_list ap);
1208
__attribute__((format (printf, 2, 3)))
1209
extern void trace_argv_printf(const char **argv, const char *format, ...);
1210
extern void trace_repo_setup(const char *prefix);
trace.c
+1
-1
@@ -62,7 +62,7 @@ static int get_trace_fd(const char *key, int *need_close)
62
static const char err_msg[] = "Could not trace into fd given by "
63
"GIT_TRACE environment variable";
64
65
-void trace_vprintf(const char *key, const char *fmt, va_list ap)
65
+static void trace_vprintf(const char *key, const char *fmt, va_list ap)
66
{
67
struct strbuf buf = STRBUF_INIT;
68