From ccc06b36c1ce9a87a08431b184ce458e6bb3008a Mon Sep 17 00:00:00 2001 From: Chaoren Lin Date: Sat, 27 Jun 2015 23:11:32 +0000 Subject: [PATCH] timegm in LibcGlue needs to be extern, not static. Reviewers: vharron Reviewed By: vharron Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10778 llvm-svn: 240894 --- lldb/include/lldb/Host/Time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/include/lldb/Host/Time.h b/lldb/include/lldb/Host/Time.h index 1da1449..1481d38 100644 --- a/lldb/include/lldb/Host/Time.h +++ b/lldb/include/lldb/Host/Time.h @@ -18,7 +18,7 @@ #if defined(__ANDROID_API__) && __ANDROID_API__ < 21 #include -static time_t timegm(struct tm* t); +extern time_t timegm(struct tm* t); #else #include #endif -- 2.7.4