Skip to content

Commit cbfb93a

Browse files
committed
trace.c: mark a private file-scope symbol as static
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1e24845 commit cbfb93a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cache.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,6 @@ extern void alloc_report(void);
12051205
/* trace.c */
12061206
__attribute__((format (printf, 1, 2)))
12071207
extern void trace_printf(const char *format, ...);
1208-
extern void trace_vprintf(const char *key, const char *format, va_list ap);
12091208
__attribute__((format (printf, 2, 3)))
12101209
extern void trace_argv_printf(const char **argv, const char *format, ...);
12111210
extern void trace_repo_setup(const char *prefix);

trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static int get_trace_fd(const char *key, int *need_close)
6262
static const char err_msg[] = "Could not trace into fd given by "
6363
"GIT_TRACE environment variable";
6464

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)
6666
{
6767
struct strbuf buf = STRBUF_INIT;
6868

0 commit comments

Comments
 (0)