mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
LibC: Don't use reserved names for the arguments in strftime declaration
The `max` argument could collide with the macro. Let's use the name provided by POSIX instead.
This commit is contained in:
1 parent
5528cdcfb7
commit
abd41e812d
1 file changed
+1
-1
@@ -50,7 +50,7 @@ struct tm* gmtime_r(time_t const* timep, struct tm* result);
|
||||
struct tm* localtime_r(time_t const* timep, struct tm* result);
|
||||
|
||||
double difftime(time_t, time_t);
|
||||
size_t strftime(char* s, size_t max, char const* format, const struct tm*) __attribute__((format(strftime, 3, 0)));
|
||||
size_t strftime(char* s, size_t maxsize, char const* format, const struct tm* timeptr) __attribute__((format(strftime, 3, 0)));
|
||||
|
||||
#define TIME_UTC 0
|
||||
int timespec_get(struct timespec*, int);
|
||||
|
||||
Reference in new issue
Block a user