Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic.""
This reverts commit f4b34b6c39
.
The revert was only meant to apply to the jb-mr1 branch, but accidentally
leaked out into AOSP. This revert-revert gets AOSP master and internal
master back in sync.
This commit is contained in:
@@ -49,7 +49,12 @@ struct strftime_locale {
|
||||
const char * date_fmt;
|
||||
};
|
||||
|
||||
extern size_t strftime_tz(char *s, size_t max, const char *format, const struct tm *tm, const struct strftime_locale* lc);
|
||||
/*
|
||||
* Note: you should consider these extensions deprecated and use managed code or icu4c instead.
|
||||
*/
|
||||
extern size_t strftime_tz(char* s, size_t max, const char* format, const struct tm* tm, const struct strftime_locale* lc);
|
||||
extern time_t mktime_tz(struct tm* const tmp, char const* tz);
|
||||
extern void localtime_tz(const time_t* const timep, struct tm* tmp, const char* tz);
|
||||
|
||||
#endif /* _BIONIC_STRFTIME_TZ_DECLARED */
|
||||
|
||||
|
Reference in New Issue
Block a user