diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-02-28 20:30:11 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-02-28 20:30:11 +0000 |
commit | 06609c64d70305d0df5760b8aa3fc359e7f5ac3c (patch) | |
tree | eb10d1683330a6c92a208984ecea44d67f56adb7 /compiler-rt/SDKs/linux/usr/include/stdlib.h | |
parent | ccf04159732d5da1430a44a96f0211f05ba7cf9e (diff) | |
download | bcm5719-llvm-06609c64d70305d0df5760b8aa3fc359e7f5ac3c.tar.gz bcm5719-llvm-06609c64d70305d0df5760b8aa3fc359e7f5ac3c.zip |
build: remove the stub linux SDK
The SDK is insufficient to really build much. The builtins can be built
standalone now which is what the stub SDK was meant to permit. Remove the
unnecessary files.
llvm-svn: 230869
Diffstat (limited to 'compiler-rt/SDKs/linux/usr/include/stdlib.h')
-rw-r--r-- | compiler-rt/SDKs/linux/usr/include/stdlib.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/compiler-rt/SDKs/linux/usr/include/stdlib.h b/compiler-rt/SDKs/linux/usr/include/stdlib.h deleted file mode 100644 index 966b29db6e1..00000000000 --- a/compiler-rt/SDKs/linux/usr/include/stdlib.h +++ /dev/null @@ -1,36 +0,0 @@ -/* ===-- stdlib.h - stub SDK header for compiler-rt -------------------------=== - * - * The LLVM Compiler Infrastructure - * - * This file is dual licensed under the MIT and the University of Illinois Open - * Source Licenses. See LICENSE.TXT for details. - * - * ===-----------------------------------------------------------------------=== - * - * This is a stub SDK header file. This file is not part of the interface of - * this library nor an official version of the appropriate SDK header. It is - * intended only to stub the features of this header required by compiler-rt. - * - * ===-----------------------------------------------------------------------=== - */ - -#ifndef __STDLIB_H__ -#define __STDLIB_H__ - -#define NULL ((void *)0) - -typedef __SIZE_TYPE__ size_t; - -void abort(void) __attribute__((__nothrow__)) __attribute__((__noreturn__)); -int atexit(void (*)(void)) __attribute__((__nothrow__)); -int atoi(const char *) __attribute__((__nothrow__)); -void free(void *) __attribute__((__nothrow__)); -char *getenv(const char *) __attribute__((__nothrow__)) - __attribute__((__nonnull__(1))); - __attribute__((__warn_unused_result__)); -void *malloc(size_t) __attribute__((__nothrow__)) __attribute((__malloc__)) - __attribute__((__warn_unused_result__)); -void *realloc(void *, size_t) __attribute__((__nothrow__)) __attribute((__malloc__)) - __attribute__((__warn_unused_result__)); - -#endif /* __STDLIB_H__ */ |