trace: remove redundant printf format attribute
[git/mingw/j6t.git] / trace.h
blob8fea50bf1dbf9d4d67f1fba630d3ff037e6d29da
1 #ifndef TRACE_H
2 #define TRACE_H
4 #include "git-compat-util.h"
5 #include "strbuf.h"
7 __attribute__((format (printf, 1, 2)))
8 extern void trace_printf(const char *format, ...);
9 __attribute__((format (printf, 2, 3)))
10 extern void trace_argv_printf(const char **argv, const char *format, ...);
11 extern void trace_repo_setup(const char *prefix);
12 extern int trace_want(const char *key);
13 __attribute__((format (printf, 2, 3)))
14 extern void trace_printf_key(const char *key, const char *format, ...);
15 extern void trace_strbuf(const char *key, const struct strbuf *buf);
17 #endif /* TRACE_H */