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/util.h | |
parent | 750ef27274cdc274f8c6b9245d6ba0179c68fa50 (diff) |
Add some extra __attribute__ ((format)) s
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index 69b717ed93..68e87da7cd 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -361,8 +361,8 @@ int pipe_eof(int fd); cpu_set_t* cpu_set_malloc(unsigned *ncpus); -int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char *format, va_list ap); -int status_printf(const char *status, bool ellipse, bool ephemeral, const char *format, ...); +int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char *format, va_list ap) _printf_attr_(4,0); +int status_printf(const char *status, bool ellipse, bool ephemeral, const char *format, ...) _printf_attr_(4,5); int status_welcome(void); int fd_columns(int fd); |