Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 2239545

Browse files
enh-googleGerrit Code Review
authored andcommitted
Merge "No need to require API 23 for strptime_l()." into main
2 parents c2d539a + 55acfc1 commit 2239545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/include/time.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ char* _Nullable strptime(const char* _Nonnull __s, const char* _Nonnull __fmt, s
245245
/**
246246
* Equivalent to strptime() on Android where only C/POSIX locales are available.
247247
*/
248-
char* _Nullable strptime_l(const char* _Nonnull __s, const char* _Nonnull __fmt, struct tm* _Nonnull __tm, locale_t _Nonnull __l) __strftimelike(2) __INTRODUCED_IN(28);
248+
char* _Nullable strptime_l(const char* _Nonnull __s, const char* _Nonnull __fmt, struct tm* _Nonnull __tm, locale_t _Nonnull __l) __strftimelike(2) __RENAME(strptime);
249249

250250
/**
251251
* [strftime(3)](https://man7.org/linux/man-pages/man3/strftime.3.html) formats

0 commit comments

Comments
 (0)