summaryrefslogtreecommitdiff
path: root/SDKs
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-05-29 06:55:01 +0000
committerAlexey Samsonov <samsonov@google.com>2012-05-29 06:55:01 +0000
commitd389dd3467ef9a2eabb052f3974372f5e8ac82e1 (patch)
treeeed4c08b17cd07ae163665222cfffebb4366ccc1 /SDKs
parentc6df61ba6ec36e7a1684127d2b3284e2101947d1 (diff)
Fix atoi stub for linux introduced in r157573. This fixes compiler-rt build on linux.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'SDKs')
-rw-r--r--SDKs/linux/usr/include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/SDKs/linux/usr/include/stdlib.h b/SDKs/linux/usr/include/stdlib.h
index 2fe745a00..2a6617ae3 100644
--- a/SDKs/linux/usr/include/stdlib.h
+++ b/SDKs/linux/usr/include/stdlib.h
@@ -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)));