summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2014-09-06 22:53:03 +0200
committerJunio C Hamano <gitster@pobox.com>2014-09-08 11:08:04 -0700
commit792a646a194deb146de72022cf92882fe2fde8b9 (patch)
tree56de313a2b55965136b9183825d8d547c5287566 /trace.c
parentc7d3f8cb48d754371343c5a48cf392135bb4d77b (diff)
downloadgit-792a646a194deb146de72022cf92882fe2fde8b9.tar.gz
trace: correct trace_strbuf() parameter type for !HAVE_VARIADIC_MACROSkb/perf-trace
Reported-by: dev <dev@cor0.com> Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 e583dc63bb..17015fdb81 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);
}