forked from PoliEcho-holding-org/kern
Added __printf() attributes to printf-like functions
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <kernel.h>
|
||||
|
||||
int snprintf(char *buf, size_t n, const char *fmt, ...);
|
||||
int snprintf(char *buf, size_t n, const char *fmt, ...) __printf(3, 4);
|
||||
int vsnprintf(char* buf, size_t n, const char* fmt, va_list ap);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user