diff options
author | Jeff King <peff@peff.net> | 2011-02-24 09:28:15 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-08 12:12:04 -0800 |
commit | c6053543f288f503b39e946ef58bfcd59f935b5f (patch) | |
tree | d7d25b5e825352e335f5a11a96be10ed9829411e /cache.h | |
parent | compat: fall back on __va_copy if available (diff) | |
download | tgif-c6053543f288f503b39e946ef58bfcd59f935b5f.tar.xz |
trace: add trace_vprintf
This is a necessary cleanup to adding new types of trace
functions.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1067,6 +1067,7 @@ extern void alloc_report(void); /* trace.c */ __attribute__((format (printf, 1, 2))) extern void trace_printf(const char *format, ...); +extern void trace_vprintf(const char *format, va_list ap); __attribute__((format (printf, 2, 3))) extern void trace_argv_printf(const char **argv, const char *format, ...); extern void trace_repo_setup(const char *prefix); |