summaryrefslogtreecommitdiff
path: root/trace.h
diff options
context:
space:
mode:
authorKarsten Blees <karsten.blees@gmail.com>2014-06-11 09:57:23 +0200
committerJunio C Hamano <gitster@pobox.com>2014-06-17 09:37:47 -0700
commit4a3b0b25f182727876bfb01748b2d00dd43f9ad7 (patch)
tree75caadd2ce409e4d426763fd2d538f19d81e4206 /trace.h
parent5991a55c545bca32fc4f5e69ee58de86563a93fa (diff)
downloadgit-4a3b0b25f182727876bfb01748b2d00dd43f9ad7.tar.gz
trace: consistently name the format parameter
The format parameter to trace_printf functions is sometimes abbreviated 'fmt'. Rename to 'format' everywhere (consistent with POSIX' printf specification). Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.h')
-rw-r--r--trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace.h b/trace.h
index 6cc4541425..8fea50bf1d 100644
--- a/trace.h
+++ b/trace.h
@@ -11,7 +11,7 @@ extern void trace_argv_printf(const char **argv, const char *format, ...);
extern void trace_repo_setup(const char *prefix);
extern int trace_want(const char *key);
__attribute__((format (printf, 2, 3)))
-extern void trace_printf_key(const char *key, const char *fmt, ...);
+extern void trace_printf_key(const char *key, const char *format, ...);
extern void trace_strbuf(const char *key, const struct strbuf *buf);
#endif /* TRACE_H */