summaryrefslogtreecommitdiff
path: root/components/libc/compilers/minilibc/stdlib.h
diff options
context:
space:
mode:
authorMeco Jianting Man <[email protected]>2021-02-27 01:02:48 -0600
committerGitHub <[email protected]>2021-02-27 01:02:48 -0600
commit8932ffdb96b793031bbc71bb3bd23202939fcb2c (patch)
tree33ac8cd4afac62c449384ed20f2af94ab0b90708 /components/libc/compilers/minilibc/stdlib.h
parentbc28df8b350f2118f418b966df0843c7f2c02496 (diff)
parent2bf53d315d62bd199c01fd2d6a7f05d1a6712153 (diff)
Merge pull request #21 from RT-Thread/master
pr
Diffstat (limited to 'components/libc/compilers/minilibc/stdlib.h')
-rw-r--r--components/libc/compilers/minilibc/stdlib.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/components/libc/compilers/minilibc/stdlib.h b/components/libc/compilers/minilibc/stdlib.h
deleted file mode 100644
index d57d95b64d..0000000000
--- a/components/libc/compilers/minilibc/stdlib.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2008-08-14 Bernard the first version
- */
-
-#ifndef __STDLIB_H__
-#define __STDLIB_H__
-
-#include <sys/types.h>
-
-#if !defined (RT_USING_NEWLIB) && defined (RT_USING_MINILIBC)
-int atoi(const char *nptr);
-long int atol(const char *nptr);
-
-int rand(void);
-int rand_r(unsigned int *seed);
-void srand(unsigned int seed);
-
-void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
-
-void *malloc(size_t size);
-void free(void *ptr);
-void *realloc(void *ptr, size_t size);
-void *calloc(size_t nelem, size_t elsize);
-void abort(void);
-#endif
-
-#endif