tree-diff: no need to manually verify that there is no mode change for a path
[gitweb.git] / trace.c
diff --git a/trace.c b/trace.c
index 5ec0e3bd16b5cfc59254c6e10d4555ef3029aa36..08180a90bc0074f821e5f2e05988e27c174be39f 100644 (file)
--- a/trace.c
+++ b/trace.c
@@ -75,7 +75,8 @@ static void trace_vprintf(const char *key, const char *fmt, va_list ap)
        strbuf_release(&buf);
 }
 
-static void trace_printf_key(const char *key, const char *fmt, ...)
+__attribute__((format (printf, 2, 3)))
+void trace_printf_key(const char *key, const char *fmt, ...)
 {
        va_list ap;
        va_start(ap, fmt);