summaryrefslogtreecommitdiffstats
path: root/libc/include
diff options
context:
space:
mode:
authorFred Fettinger <fred.fettinger@motorola.com>2009-11-23 13:43:42 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-11-23 13:43:42 -0800
commit25f8ea4d40879096a56ae6036543dfe41e701ca5 (patch)
tree2e53836ebbfe00ba85a0adfbef259fbcab71db7e /libc/include
parent62a1bb5acfb4043f5cda66a26533c30e941e7763 (diff)
parent01a1f8b080d9d4e619ce00039f195f6fa3aa2045 (diff)
downloadbionic-25f8ea4d40879096a56ae6036543dfe41e701ca5.zip
bionic-25f8ea4d40879096a56ae6036543dfe41e701ca5.tar.gz
bionic-25f8ea4d40879096a56ae6036543dfe41e701ca5.tar.bz2
am 01a1f8b0: am b5239ed1: libc: allow usage of time64.h from cpp code
Merge commit '01a1f8b080d9d4e619ce00039f195f6fa3aa2045' * commit '01a1f8b080d9d4e619ce00039f195f6fa3aa2045': libc: allow usage of time64.h from cpp code
Diffstat (limited to 'libc/include')
-rw-r--r--libc/include/time64.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/include/time64.h b/libc/include/time64.h
index 9da4bc7..7ec05af 100644
--- a/libc/include/time64.h
+++ b/libc/include/time64.h
@@ -31,9 +31,12 @@ Modified for Bionic by the Android Open Source Project
#ifndef TIME64_H
#define TIME64_H
+#include <sys/cdefs.h>
#include <time.h>
#include <stdint.h>
+__BEGIN_DECLS
+
typedef int64_t time64_t;
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 timelocal64 (const struct tm *);
+__END_DECLS
+
#endif /* TIME64_H */