am 1b5df5cb: am 1badc519: am a60db2e7: am 69139a5a: Merge "Added missing clock_settime()/clock_nanosleep() in time.h API>=8"

* commit '1b5df5cb9476c6e9797f759619d9839640507793':
  Added missing clock_settime()/clock_nanosleep() in time.h API>=8
This commit is contained in:
Andrew Hsieh
2014-01-09 21:36:20 +00:00
committed by Android Git Automerger

View File

@@ -94,8 +94,10 @@ extern long int timezone;
extern clock_t clock(void);
/* BIONIC: extra linux clock goodies */
extern int clock_getres(int, struct timespec *);
extern int clock_gettime(int, struct timespec *);
extern int clock_getres(clockid_t, struct timespec *);
extern int clock_gettime(clockid_t, struct timespec *);
extern int clock_settime(clockid_t, const struct timespec *);
extern int clock_nanosleep(clockid_t, int, const struct timespec *, struct timespec *);
#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 1