Added __printf() attributes to printf-like functions

This commit is contained in:
2026-03-28 18:03:46 +01:00
parent ad45de562a
commit f10f065e91
7 changed files with 12 additions and 18 deletions
+1 -1
View File
@@ -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