Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-11-23 03:28:14 +0300
committerJunio C Hamano <gitster@pobox.com>2009-11-23 03:28:14 +0300
commit82f05d5dd7ec54c4cd30f016c4380b21245e0d63 (patch)
treec81b46f0c28579c06b886074149e9762921a3ddc /cache.h
parentc50230f75109677d7adf0bd94f99d17f35a519a6 (diff)
parent28bea9e53481fddcb12e63d8c049f0ff2917a573 (diff)
Merge branch 'tc/format-attribute'
* tc/format-attribute: Check the format of more printf-type functions
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index f7533ff862..72a311bafa 100644
--- a/cache.h
+++ b/cache.h
@@ -967,7 +967,9 @@ extern void *alloc_object_node(void);
extern void alloc_report(void);
/* trace.c */
+__attribute__((format (printf, 1, 2)))
extern void trace_printf(const char *format, ...);
+__attribute__((format (printf, 2, 3)))
extern void trace_argv_printf(const char **argv, const char *format, ...);
/* convert.c */