diff options
author | Cristian Rodríguez <crrodriguez@opensuse.org> | 2013-04-02 04:02:58 -0300 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-25 21:50:48 -0400 |
commit | b1e2b33c5258f1cefcee55116ac5d049478c804d (patch) | |
tree | dc3e50cb79c51c85b2a16b825c89cc7bafeecbc7 /src/shared/log.h | |
parent | 750ef27274cdc274f8c6b9245d6ba0179c68fa50 (diff) |
Add some extra __attribute__ ((format)) s
Diffstat (limited to 'src/shared/log.h')
-rw-r--r-- | src/shared/log.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/log.h b/src/shared/log.h index 9aafcb4100..5fc89880ad 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -83,7 +83,7 @@ int log_metav( int line, const char *func, const char *format, - va_list ap); + va_list ap) _printf_attr_(5,0); int log_meta_object( int level, @@ -102,14 +102,14 @@ int log_metav_object( const char *object_name, const char *object, const char *format, - va_list ap); + va_list ap) _printf_attr_(7,0); int log_struct_internal( int level, const char *file, int line, const char *func, - const char *format, ...) _sentinel_; + const char *format, ...) _printf_attr_(5,0) _sentinel_; int log_oom_internal( const char *file, |