diff options
author | Richard Braun <rbraun@sceen.net> | 2017-06-15 00:29:00 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-06-15 00:29:00 +0200 |
commit | 0eac4af899270f4ece438a2eb05c186639a9faee (patch) | |
tree | 5a7d2dfa26afeaeafe55c9f53275908143c808f5 /kern/printf.h | |
parent | d8ed3b6cda0a7dbc32a6ca2fecfc71a6fb1fe67c (diff) |
kern/macros: remove the __format_printf macro
This macro isn't used enough for this alias to have any real value.
Diffstat (limited to 'kern/printf.h')
-rw-r--r-- | kern/printf.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kern/printf.h b/kern/printf.h index 6643d664..0aed7200 100644 --- a/kern/printf.h +++ b/kern/printf.h @@ -33,10 +33,12 @@ #include <stdarg.h> -#include <kern/macros.h> +int printf(const char *format, ...) + __attribute__((format(printf, 1, 2))); + +int vprintf(const char *format, va_list ap) + __attribute__((format(printf, 1, 0))); -int printf(const char *format, ...) __format_printf(1, 2); -int vprintf(const char *format, va_list ap) __format_printf(1, 0); void printf_setup(void); #endif /* _KERN_PRINTF_H */ |