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:
parent
e665ad92af
commit
b990fc5d3a
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue