[Lldb-commits] [lldb] r240894 - timegm in LibcGlue needs to be extern, not static.

Chaoren Lin chaorenl at google.com
Sat Jun 27 16:11:32 PDT 2015


Author: chaoren
Date: Sat Jun 27 18:11:32 2015
New Revision: 240894

URL: http://llvm.org/viewvc/llvm-project?rev=240894&view=rev
Log:
timegm in LibcGlue needs to be extern, not static.

Reviewers: vharron

Reviewed By: vharron

Subscribers: lldb-commits

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

Modified:
    lldb/trunk/include/lldb/Host/Time.h

Modified: lldb/trunk/include/lldb/Host/Time.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/Time.h?rev=240894&r1=240893&r2=240894&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/Time.h (original)
+++ lldb/trunk/include/lldb/Host/Time.h Sat Jun 27 18:11:32 2015
@@ -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





More information about the lldb-commits mailing list