Add some extra __attribute__ ((format)) s
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
750ef27274
commit
b1e2b33c52
+3
-3
@@ -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,
|
||||
|
||||
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user