mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
5991a55c54
commit
4a3b0b25f1
2
trace.h
2
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 */
|
||||
|
||||
Reference in New Issue
Block a user