timegm in LibcGlue needs to be extern, not static.
authorChaoren Lin <chaorenl@google.com>
Sat, 27 Jun 2015 23:11:32 +0000 (23:11 +0000)
committerChaoren Lin <chaorenl@google.com>
Sat, 27 Jun 2015 23:11:32 +0000 (23:11 +0000)
Reviewers: vharron

Reviewed By: vharron

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10778

llvm-svn: 240894

lldb/include/lldb/Host/Time.h

index 1da1449..1481d38 100644 (file)
@@ -18,7 +18,7 @@
 
 #if defined(__ANDROID_API__) && __ANDROID_API__ < 21
 #include <time64.h>
-static time_t timegm(struct tm* t);
+extern time_t timegm(struct tm* t);
 #else
 #include <time.h>
 #endif