| author | |
| committer | |
| log | e2fccd8dd5c09ed805c000a6c26c7d1eb1e7d6c1 |
| tree | 1313ce3d3439a1559b9b6b15edd58c52bd447e15 |
| parent | 6ccabbd4e558dd0d56c471408c4cf29e0992dc1c |
13 files changed, 0 insertions(+), 66 deletions(-)
lib/libc/musl/src/aio/aio.c-5| ... | ... | @@ -11,11 +11,6 @@ |
| 11 | 11 | #include "pthread_impl.h" |
| 12 | 12 | #include "aio_impl.h" |
| 13 | 13 | |
| 14 | #define malloc __libc_malloc | |
| 15 | #define calloc __libc_calloc | |
| 16 | #define realloc __libc_realloc | |
| 17 | #define free __libc_free | |
| 18 | ||
| 19 | 14 | /* The following is a threads-based implementation of AIO with minimal |
| 20 | 15 | * dependence on implementation details. Most synchronization is |
| 21 | 16 | * performed with pthread primitives, but atomics and futex operations |
lib/libc/musl/src/exit/atexit.c-5| ... | ... | @@ -4,11 +4,6 @@ |
| 4 | 4 | #include "lock.h" |
| 5 | 5 | #include "fork_impl.h" |
| 6 | 6 | |
| 7 | #define malloc __libc_malloc | |
| 8 | #define calloc __libc_calloc | |
| 9 | #define realloc undef | |
| 10 | #define free undef | |
| 11 | ||
| 12 | 7 | /* Ensure that at least 32 atexit handlers can be registered without malloc */ |
| 13 | 8 | #define COUNT 32 |
| 14 | 9 |
lib/libc/musl/src/include/stdlib.h-6| ... | ... | @@ -10,10 +10,4 @@ hidden int __ptsname_r(int, char *, size_t); |
| 10 | 10 | hidden char *__randname(char *); |
| 11 | 11 | hidden void __qsort_r (void *, size_t, size_t, int (*)(const void *, const void *, void *), void *); |
| 12 | 12 | |
| 13 | hidden void *__libc_malloc(size_t); | |
| 14 | hidden void *__libc_malloc_impl(size_t); | |
| 15 | hidden void *__libc_calloc(size_t, size_t); | |
| 16 | hidden void *__libc_realloc(void *, size_t); | |
| 17 | hidden void __libc_free(void *); | |
| 18 | ||
| 19 | 13 | #endif |
lib/libc/musl/src/ldso/dlerror.c-5| ... | ... | @@ -5,11 +5,6 @@ |
| 5 | 5 | #include "dynlink.h" |
| 6 | 6 | #include "atomic.h" |
| 7 | 7 | |
| 8 | #define malloc __libc_malloc | |
| 9 | #define calloc __libc_calloc | |
| 10 | #define realloc __libc_realloc | |
| 11 | #define free __libc_free | |
| 12 | ||
| 13 | 8 | char *dlerror() |
| 14 | 9 | { |
| 15 | 10 | 	pthread_t self = __pthread_self(); |
lib/libc/musl/src/locale/dcngettext.c-5| ... | ... | @@ -12,11 +12,6 @@ |
| 12 | 12 | #include "lock.h" |
| 13 | 13 | #include "fork_impl.h" |
| 14 | 14 | |
| 15 | #define malloc __libc_malloc | |
| 16 | #define calloc __libc_calloc | |
| 17 | #define realloc undef | |
| 18 | #define free undef | |
| 19 | ||
| 20 | 15 | struct binding { |
| 21 | 16 | 	struct binding *next; |
| 22 | 17 | 	int dirlen; |
lib/libc/musl/src/locale/duplocale.c-5| ... | ... | @@ -3,11 +3,6 @@ |
| 3 | 3 | #include "locale_impl.h" |
| 4 | 4 | #include "libc.h" |
| 5 | 5 | |
| 6 | #define malloc __libc_malloc | |
| 7 | #define calloc undef | |
| 8 | #define realloc undef | |
| 9 | #define free undef | |
| 10 | ||
| 11 | 6 | locale_t __duplocale(locale_t old) |
| 12 | 7 | { |
| 13 | 8 | 	locale_t new = malloc(sizeof *new); |
lib/libc/musl/src/locale/freelocale.c-5| ... | ... | @@ -1,11 +1,6 @@ |
| 1 | 1 | #include <stdlib.h> |
| 2 | 2 | #include "locale_impl.h" |
| 3 | 3 | |
| 4 | #define malloc undef | |
| 5 | #define calloc undef | |
| 6 | #define realloc undef | |
| 7 | #define free __libc_free | |
| 8 | ||
| 9 | 4 | void freelocale(locale_t l) |
| 10 | 5 | { |
| 11 | 6 | 	if (__loc_is_allocated(l)) free(l); |
lib/libc/musl/src/locale/locale_map.c-5| ... | ... | @@ -7,11 +7,6 @@ |
| 7 | 7 | #include "lock.h" |
| 8 | 8 | #include "fork_impl.h" |
| 9 | 9 | |
| 10 | #define malloc __libc_malloc | |
| 11 | #define calloc undef | |
| 12 | #define realloc undef | |
| 13 | #define free undef | |
| 14 | ||
| 15 | 10 | const char *__lctrans_impl(const char *msg, const struct __locale_map *lm) |
| 16 | 11 | { |
| 17 | 12 | 	const char *trans = 0; |
lib/libc/musl/src/locale/newlocale.c-5| ... | ... | @@ -4,11 +4,6 @@ |
| 4 | 4 | #include "locale_impl.h" |
| 5 | 5 | #include "lock.h" |
| 6 | 6 | |
| 7 | #define malloc __libc_malloc | |
| 8 | #define calloc undef | |
| 9 | #define realloc undef | |
| 10 | #define free undef | |
| 11 | ||
| 12 | 7 | static int default_locale_init_done; |
| 13 | 8 | static struct __locale_struct default_locale, default_ctype_locale; |
| 14 | 9 |
lib/libc/musl/src/process/fdop.h-5| ... | ... | @@ -10,8 +10,3 @@ struct fdop { |
| 10 | 10 | 	mode_t mode; |
| 11 | 11 | 	char path[]; |
| 12 | 12 | }; |
| 13 | ||
| 14 | #define malloc __libc_malloc | |
| 15 | #define calloc __libc_calloc | |
| 16 | #define realloc undef | |
| 17 | #define free __libc_free |
lib/libc/musl/src/thread/pthread_atfork.c-5| ... | ... | @@ -3,11 +3,6 @@ |
| 3 | 3 | #include "libc.h" |
| 4 | 4 | #include "lock.h" |
| 5 | 5 | |
| 6 | #define malloc __libc_malloc | |
| 7 | #define calloc undef | |
| 8 | #define realloc undef | |
| 9 | #define free undef | |
| 10 | ||
| 11 | 6 | static struct atfork_funcs { |
| 12 | 7 | 	void (*prepare)(void); |
| 13 | 8 | 	void (*parent)(void); |
lib/libc/musl/src/thread/sem_open.c-5| ... | ... | @@ -14,11 +14,6 @@ |
| 14 | 14 | #include "lock.h" |
| 15 | 15 | #include "fork_impl.h" |
| 16 | 16 | |
| 17 | #define malloc __libc_malloc | |
| 18 | #define calloc __libc_calloc | |
| 19 | #define realloc undef | |
| 20 | #define free undef | |
| 21 | ||
| 22 | 17 | static struct { |
| 23 | 18 | 	ino_t ino; |
| 24 | 19 | 	sem_t *sem; |
lib/libc/musl/src/time/__tz.c-5| ... | ... | @@ -9,11 +9,6 @@ |
| 9 | 9 | #include "lock.h" |
| 10 | 10 | #include "fork_impl.h" |
| 11 | 11 | |
| 12 | #define malloc __libc_malloc | |
| 13 | #define calloc undef | |
| 14 | #define realloc undef | |
| 15 | #define free undef | |
| 16 | ||
| 17 | 12 | long __timezone = 0; |
| 18 | 13 | int __daylight = 0; |
| 19 | 14 | char *__tzname[2] = { 0, 0 }; |