authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-11-06 13:53:47-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-11-06 13:53:47-07:00
logdba94f453a55d02cc87667fc5636aed3237483f6
treedb8f1d11e0c2c32bf3dba7e5c74b87c041b6299b
parent008dd90f1fb55f8782d7b435cf78629e7cea34e0

update musl headers to 1.2.1


7 files changed, 5 insertions(+), 11 deletions(-)

lib/libc/include/generic-musl/arpa/inet.h-5
......@@ -24,11 +24,6 @@ struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
2424in_addr_t inet_lnaof(struct in_addr);
2525in_addr_t inet_netof(struct in_addr);
2626
27#undef INET_ADDRSTRLEN
28#undef INET6_ADDRSTRLEN
29#define INET_ADDRSTRLEN 16
30#define INET6_ADDRSTRLEN 46
31
3227#ifdef __cplusplus
3328}
3429#endif
lib/libc/include/generic-musl/netinet/in.h-2
......@@ -60,8 +60,6 @@ struct ipv6_mreq {
6060
6161extern const struct in6_addr in6addr_any, in6addr_loopback;
6262
63#undef INET_ADDRSTRLEN
64#undef INET6_ADDRSTRLEN
6563#define INET_ADDRSTRLEN 16
6664#define INET6_ADDRSTRLEN 46
6765
lib/libc/include/generic-musl/pthread.h+3
......@@ -74,6 +74,9 @@ extern "C" {
7474#define PTHREAD_BARRIER_SERIAL_THREAD (-1)
7575
7676
77#define PTHREAD_NULL ((pthread_t)0)
78
79
7780int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict);
7881int pthread_detach(pthread_t);
7982_Noreturn void pthread_exit(void *);
lib/libc/include/mips-linux-musl/bits/signal.h+1-1
......@@ -93,7 +93,7 @@ typedef struct __ucontext {
9393#define SIGTRAP 5
9494#define SIGABRT 6
9595#define SIGIOT SIGABRT
96#define SIGSTKFLT 7
96#define SIGEMT 7
9797#define SIGFPE 8
9898#define SIGKILL 9
9999#define SIGBUS 10
lib/libc/include/mips64-linux-musl/bits/signal.h+1-1
......@@ -112,7 +112,7 @@ typedef struct __ucontext {
112112#define SIGTRAP 5
113113#define SIGABRT 6
114114#define SIGIOT SIGABRT
115#define SIGSTKFLT 7
115#define SIGEMT 7
116116#define SIGFPE 8
117117#define SIGKILL 9
118118#define SIGBUS 10
lib/libc/include/powerpc-linux-musl/bits/mman.h-1
......@@ -4,7 +4,6 @@
44#define MAP_NORESERVE 0x40
55#undef MAP_LOCKED
66#define MAP_LOCKED 0x80
7#undef MAP_SYNC
87
98#undef MCL_CURRENT
109#define MCL_CURRENT 0x2000
lib/libc/include/powerpc64-linux-musl/bits/mman.h-1
......@@ -4,7 +4,6 @@
44#define MAP_NORESERVE 0x40
55#undef MAP_LOCKED
66#define MAP_LOCKED 0x80
7#undef MAP_SYNC
87
98#undef MCL_CURRENT
109#define MCL_CURRENT 0x2000