1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +00:00

LibC: Enable compiler warnings for scanf and strftime format strings

This commit is contained in:
Sahan Fernando 2020-12-26 18:55:24 +11:00 committed by Andreas Kling
parent e665ad92af
commit b990fc5d3a
2 changed files with 6 additions and 6 deletions

View file

@ -86,6 +86,6 @@ struct tm* gmtime_r(const time_t* timep, struct tm* result);
struct tm* localtime_r(const time_t* timep, struct tm* result);
double difftime(time_t, time_t);
size_t strftime(char* s, size_t max, const char* format, const struct tm*);
size_t strftime(char* s, size_t max, const char* format, const struct tm*) __attribute__((format(strftime, 3, 0)));
__END_DECLS