am b5239ed1: libc: allow usage of time64.h from cpp code
Merge commit 'b5239ed16aeba648f1c9bcb7a4887b8a41670326' into eclair-mr2-plus-aosp * commit 'b5239ed16aeba648f1c9bcb7a4887b8a41670326': libc: allow usage of time64.h from cpp code
This commit is contained in:
commit
01a1f8b080
@ -31,9 +31,12 @@ Modified for Bionic by the Android Open Source Project
|
|||||||
#ifndef TIME64_H
|
#ifndef TIME64_H
|
||||||
#define TIME64_H
|
#define TIME64_H
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
typedef int64_t time64_t;
|
typedef int64_t time64_t;
|
||||||
|
|
||||||
struct tm *gmtime64_r (const time64_t *, struct tm *);
|
struct tm *gmtime64_r (const time64_t *, struct tm *);
|
||||||
@ -51,4 +54,6 @@ time64_t timegm64 (const struct tm *);
|
|||||||
time64_t mktime64 (const struct tm *);
|
time64_t mktime64 (const struct tm *);
|
||||||
time64_t timelocal64 (const struct tm *);
|
time64_t timelocal64 (const struct tm *);
|
||||||
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* TIME64_H */
|
#endif /* TIME64_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user