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

Chaoren Lin chaorenl at google.com
Fri Jun 26 14:16:24 PDT 2015


Hi vharron,

http://reviews.llvm.org/D10778

Files:
  include/lldb/Host/Time.h

Index: include/lldb/Host/Time.h
===================================================================
--- include/lldb/Host/Time.h
+++ 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.28598.patch
Type: text/x-patch
Size: 361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150626/a213f1e8/attachment.bin>


More information about the lldb-commits mailing list