summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-09-19 11:38:39 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-09-19 11:38:39 -0700
commit9ee9c9d068d841908c7022aad566096be8a439a9 (patch)
treed85c6f834f3ffb64770eb196f1cca31a01afd84b /trace.c
parentMerge branch 'jc/parseopt-verify-short-name' (diff)
parenttrace: correct trace_strbuf() parameter type for !HAVE_VARIADIC_MACROS (diff)
downloadtgif-9ee9c9d068d841908c7022aad566096be8a439a9.tar.xz
Merge branch 'kb/perf-trace'
Compilation fix for some compilers. * kb/perf-trace: trace: correct trace_strbuf() parameter type for !HAVE_VARIADIC_MACROS
Diffstat (limited to 'trace.c')
-rw-r--r--trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace.c b/trace.c
index 54aaee5818..b6f25a23fd 100644
--- a/trace.c
+++ b/trace.c
@@ -216,7 +216,7 @@ void trace_argv_printf(const char **argv, const char *format, ...)
va_end(ap);
}
-void trace_strbuf(const char *key, const struct strbuf *data)
+void trace_strbuf(struct trace_key *key, const struct strbuf *data)
{
trace_strbuf_fl(NULL, 0, key, data);
}