summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:39 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:39 -0700
commit9ee9c9d068d841908c7022aad566096be8a439a9 (patch)
treed85c6f834f3ffb64770eb196f1cca31a01afd84b /trace.c
parent5dbdb3bed63ab1bb0b44a398322d736aafbeb841 (diff)
parent792a646a194deb146de72022cf92882fe2fde8b9 (diff)
downloadgit-9ee9c9d068d841908c7022aad566096be8a439a9.tar.gz
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);
}