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);...@@ -24,11 +24,6 @@ struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
24in_addr_t inet_lnaof(struct in_addr);24in_addr_t inet_lnaof(struct in_addr);
25in_addr_t inet_netof(struct in_addr);25in_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
32#ifdef __cplusplus27#ifdef __cplusplus
33}28}
34#endif29#endif
lib/libc/include/generic-musl/netinet/in.h-2
...@@ -60,8 +60,6 @@ struct ipv6_mreq {...@@ -60,8 +60,6 @@ struct ipv6_mreq {
6060
61extern const struct in6_addr in6addr_any, in6addr_loopback;61extern const struct in6_addr in6addr_any, in6addr_loopback;
6262
63#undef INET_ADDRSTRLEN
64#undef INET6_ADDRSTRLEN
65#define INET_ADDRSTRLEN 1663#define INET_ADDRSTRLEN 16
66#define INET6_ADDRSTRLEN 4664#define INET6_ADDRSTRLEN 46
6765
lib/libc/include/generic-musl/pthread.h+3
...@@ -74,6 +74,9 @@ extern "C" {...@@ -74,6 +74,9 @@ extern "C" {
74#define PTHREAD_BARRIER_SERIAL_THREAD (-1)74#define PTHREAD_BARRIER_SERIAL_THREAD (-1)
7575
7676
77#define PTHREAD_NULL ((pthread_t)0)
78
79
77int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict);80int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict);
78int pthread_detach(pthread_t);81int pthread_detach(pthread_t);
79_Noreturn void pthread_exit(void *);82_Noreturn void pthread_exit(void *);
lib/libc/include/mips-linux-musl/bits/signal.h+1-1
...@@ -93,7 +93,7 @@ typedef struct __ucontext {...@@ -93,7 +93,7 @@ typedef struct __ucontext {
93#define SIGTRAP 593#define SIGTRAP 5
94#define SIGABRT 694#define SIGABRT 6
95#define SIGIOT SIGABRT95#define SIGIOT SIGABRT
96#define SIGSTKFLT 796#define SIGEMT 7
97#define SIGFPE 897#define SIGFPE 8
98#define SIGKILL 998#define SIGKILL 9
99#define SIGBUS 1099#define SIGBUS 10
lib/libc/include/mips64-linux-musl/bits/signal.h+1-1
...@@ -112,7 +112,7 @@ typedef struct __ucontext {...@@ -112,7 +112,7 @@ typedef struct __ucontext {
112#define SIGTRAP 5112#define SIGTRAP 5
113#define SIGABRT 6113#define SIGABRT 6
114#define SIGIOT SIGABRT114#define SIGIOT SIGABRT
115#define SIGSTKFLT 7115#define SIGEMT 7
116#define SIGFPE 8116#define SIGFPE 8
117#define SIGKILL 9117#define SIGKILL 9
118#define SIGBUS 10118#define SIGBUS 10
lib/libc/include/powerpc-linux-musl/bits/mman.h-1
...@@ -4,7 +4,6 @@...@@ -4,7 +4,6 @@
4#define MAP_NORESERVE 0x404#define MAP_NORESERVE 0x40
5#undef MAP_LOCKED5#undef MAP_LOCKED
6#define MAP_LOCKED 0x806#define MAP_LOCKED 0x80
7#undef MAP_SYNC
87
9#undef MCL_CURRENT8#undef MCL_CURRENT
10#define MCL_CURRENT 0x20009#define MCL_CURRENT 0x2000
lib/libc/include/powerpc64-linux-musl/bits/mman.h-1
...@@ -4,7 +4,6 @@...@@ -4,7 +4,6 @@
4#define MAP_NORESERVE 0x404#define MAP_NORESERVE 0x40
5#undef MAP_LOCKED5#undef MAP_LOCKED
6#define MAP_LOCKED 0x806#define MAP_LOCKED 0x80
7#undef MAP_SYNC
87
9#undef MCL_CURRENT8#undef MCL_CURRENT
10#define MCL_CURRENT 0x20009#define MCL_CURRENT 0x2000