diff options
| author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-05-26 08:52:16 +0000 |
|---|---|---|
| committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-05-26 08:52:16 +0000 |
| commit | fdb4be0fbd99a7aa7b2e68109db93aa51a648bfc (patch) | |
| tree | f35844fd6f53031f646f1efdc641b88949200748 | |
| parent | 3a5db390a2c4232abcb9eb38690db6f6a6199bf7 (diff) | |
| download | navit-fdb4be0fbd99a7aa7b2e68109db93aa51a648bfc.tar.gz | |
Add:Core:Allow gcc to check dbg arguments
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@5508 ffa7fe5e-494d-0410-b361-a75ebd5db220
| -rw-r--r-- | navit/navit/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/navit/debug.h b/navit/navit/debug.h index ccb3f8ec7..6bd691c40 100644 --- a/navit/navit/debug.h +++ b/navit/navit/debug.h @@ -74,7 +74,7 @@ void debug_level_set(const char *name, int level); struct debug *debug_new(struct attr *parent, struct attr **attrs); int debug_level_get(const char *name); void debug_vprintf(int level, const char *module, const int mlen, const char *function, const int flen, int prefix, const char *fmt, va_list ap); -void debug_printf(int level, const char *module, const int mlen, const char *function, const int flen, int prefix, const char *fmt, ...); +void debug_printf(int level, const char *module, const int mlen, const char *function, const int flen, int prefix, const char *fmt, ...) __attribute__ ((format (printf, 7, 8))); void debug_assert_fail(const char *module, const int mlen, const char *function, const int flen, const char *file, int line, const char *expr); void debug_destroy(void); void debug_set_logfile(const char *path); |
