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

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


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10778

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

Index: lldb/trunk/include/lldb/Host/Time.h
===================================================================
--- lldb/trunk/include/lldb/Host/Time.h
+++ lldb/trunk/include/lldb/Host/Time.h
@@ -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

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10778.28634.patch
Type: text/x-patch
Size: 394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150627/4fedfbca/attachment.bin>


More information about the lldb-commits mailing list