Differences From Artifact [9c609e758d]:
- File src/of_strptime.m — part of check-in [59348cd51d] at 2017-02-05 01:31:59 on branch trunk — Add KOI8-R encoding (user: js, size: 4923) [annotate] [blame] [check-ins using]
To Artifact [0c80605e9d]:
- File
src/of_strptime.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 4924) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
18 19 20 21 22 23 24 | #include <string.h> #include <time.h> #import "macros.h" | | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #include <string.h> #include <time.h> #import "macros.h" const char * of_strptime(const char *buffer, const char *format, struct tm *tm, int16_t *tz) { enum { SEARCH_CONVERSION_SPECIFIER, IN_CONVERSION_SPECIFIER } state = SEARCH_CONVERSION_SPECIFIER; size_t j, bufferLen, formatLen; |
︙ | ︙ |