mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Added __printf() attributes to printf-like functions
This commit is contained in:
@@ -20,7 +20,7 @@ void serial_write(int dev, const char* buf, size_t len);
|
||||
void serial_puts(int dev, const char* s);
|
||||
void serial_cls(int dev);
|
||||
|
||||
int debugf(const char* fmt, ...);
|
||||
int debugf(const char* fmt, ...) __printf(1, 2);
|
||||
int vdebugf(const char* fmt, va_list args);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user