eclair snapshot
This commit is contained in:
@@ -79,9 +79,29 @@ extern struct tm* gmtime_r(const time_t *timep, struct tm *result);
|
||||
extern char* strptime(const char *buf, const char *fmt, struct tm *tm);
|
||||
extern size_t strftime(char *s, size_t max, const char *format, const struct tm *tm);
|
||||
|
||||
/* ANDROID-BEGIN */
|
||||
struct strftime_locale {
|
||||
const char * mon[12];
|
||||
const char * month[12];
|
||||
const char * standalone_month[12];
|
||||
const char * wday[7];
|
||||
const char * weekday[7];
|
||||
const char * X_fmt;
|
||||
const char * x_fmt;
|
||||
const char * c_fmt;
|
||||
const char * am;
|
||||
const char * pm;
|
||||
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);
|
||||
/* ANDROID-END */
|
||||
|
||||
extern char *ctime(const time_t *timep);
|
||||
extern char *ctime_r(const time_t *timep, char *buf);
|
||||
|
||||
extern void tzset(void);
|
||||
|
||||
/* global includes */
|
||||
extern char* tzname[];
|
||||
extern int daylight;
|
||||
@@ -89,7 +109,7 @@ extern long int timezone;
|
||||
|
||||
#define CLOCKS_PER_SEC 1000000
|
||||
|
||||
extern clock_t clock();
|
||||
extern clock_t clock(void);
|
||||
|
||||
/* BIONIC: extra linux clock goodies */
|
||||
extern int clock_getres(int, struct timespec *);
|
||||
|
Reference in New Issue
Block a user