[llvm-commits] [compiler-rt] r157600 - /compiler-rt/trunk/SDKs/linux/usr/include/stdlib.h
Alexey Samsonov
samsonov at google.com
Mon May 28 23:55:01 PDT 2012
Author: samsonov
Date: Tue May 29 01:55:01 2012
New Revision: 157600
URL: http://llvm.org/viewvc/llvm-project?rev=157600&view=rev
Log:
Fix atoi stub for linux introduced in r157573. This fixes compiler-rt build on linux.
Modified:
compiler-rt/trunk/SDKs/linux/usr/include/stdlib.h
Modified: compiler-rt/trunk/SDKs/linux/usr/include/stdlib.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/SDKs/linux/usr/include/stdlib.h?rev=157600&r1=157599&r2=157600&view=diff
==============================================================================
--- compiler-rt/trunk/SDKs/linux/usr/include/stdlib.h (original)
+++ compiler-rt/trunk/SDKs/linux/usr/include/stdlib.h Tue May 29 01:55:01 2012
@@ -22,7 +22,7 @@
typedef __SIZE_TYPE__ size_t;
void abort(void) __attribute__((__nothrow__)) __attribute__((__noreturn__));
-void atoi(const char *) __attribute__((__nothrow__));
+int atoi(const char *) __attribute__((__nothrow__));
void free(void *) __attribute__((__nothrow__));
char *getenv(const char *) __attribute__((__nothrow__))
__attribute__((__nonnull__(1)));
More information about the llvm-commits
mailing list