mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 12:38:51 +01:00
bootloader: Properly enable __PRINTFLIKE for the boot stdio.
No new warnings or errors, it appears.
This commit is contained in:
parent
fed0e6149e
commit
87eae1e3c8
@ -36,13 +36,11 @@ extern FILE *stderr;
|
||||
# define EOF (-1)
|
||||
#endif
|
||||
|
||||
#define __PRINTFLIKE(a, b)
|
||||
|
||||
extern int printf(char const *format, ...) __PRINTFLIKE(1,2);
|
||||
extern int fprintf(FILE *stream, char const *format, ...) __PRINTFLIKE(2,3);
|
||||
extern int sprintf(char *str, char const *format, ...) __PRINTFLIKE(2,3);
|
||||
extern int snprintf(char *str, size_t size, char const *format, ...) __PRINTFLIKE(3,4);
|
||||
extern int asprintf(char **ret, char const *format, ...) __PRINTFLIKE(2,3);
|
||||
extern int printf(char const *format, ...) _PRINTFLIKE(1,2);
|
||||
extern int fprintf(FILE *stream, char const *format, ...) _PRINTFLIKE(2,3);
|
||||
extern int sprintf(char *str, char const *format, ...) _PRINTFLIKE(2,3);
|
||||
extern int snprintf(char *str, size_t size, char const *format, ...) _PRINTFLIKE(3,4);
|
||||
extern int asprintf(char **ret, char const *format, ...) _PRINTFLIKE(2,3);
|
||||
extern int vprintf(char const *format, va_list ap);
|
||||
extern int vfprintf(FILE *stream, char const *format, va_list ap);
|
||||
extern int vsprintf(char *str, char const *format, va_list ap);
|
||||
|
Loading…
Reference in New Issue
Block a user