Fix atoi stub for linux introduced in r157573. This fixes compiler-rt build on linux.
authorAlexey Samsonov <samsonov@google.com>
Tue, 29 May 2012 06:55:01 +0000 (06:55 +0000)
committerAlexey Samsonov <samsonov@google.com>
Tue, 29 May 2012 06:55:01 +0000 (06:55 +0000)
llvm-svn: 157600

compiler-rt/SDKs/linux/usr/include/stdlib.h

index 2fe745a..2a6617a 100644 (file)
@@ -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)));