Skip to content

Commit

Permalink
update musl headers to 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Nov 6, 2020
1 parent 008dd90 commit dba94f4
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 11 deletions.
5 changes: 0 additions & 5 deletions lib/libc/include/generic-musl/arpa/inet.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
in_addr_t inet_lnaof(struct in_addr);
in_addr_t inet_netof(struct in_addr);

#undef INET_ADDRSTRLEN
#undef INET6_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#define INET6_ADDRSTRLEN 46

#ifdef __cplusplus
}
#endif
Expand Down
2 changes: 0 additions & 2 deletions lib/libc/include/generic-musl/netinet/in.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ struct ipv6_mreq {

extern const struct in6_addr in6addr_any, in6addr_loopback;

#undef INET_ADDRSTRLEN
#undef INET6_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#define INET6_ADDRSTRLEN 46

Expand Down
3 changes: 3 additions & 0 deletions lib/libc/include/generic-musl/pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ extern "C" {
#define PTHREAD_BARRIER_SERIAL_THREAD (-1)


#define PTHREAD_NULL ((pthread_t)0)


int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict);
int pthread_detach(pthread_t);
_Noreturn void pthread_exit(void *);
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/mips-linux-musl/bits/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ typedef struct __ucontext {
#define SIGTRAP 5
#define SIGABRT 6
#define SIGIOT SIGABRT
#define SIGSTKFLT 7
#define SIGEMT 7
#define SIGFPE 8
#define SIGKILL 9
#define SIGBUS 10
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/include/mips64-linux-musl/bits/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ typedef struct __ucontext {
#define SIGTRAP 5
#define SIGABRT 6
#define SIGIOT SIGABRT
#define SIGSTKFLT 7
#define SIGEMT 7
#define SIGFPE 8
#define SIGKILL 9
#define SIGBUS 10
Expand Down
1 change: 0 additions & 1 deletion lib/libc/include/powerpc-linux-musl/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#define MAP_NORESERVE 0x40
#undef MAP_LOCKED
#define MAP_LOCKED 0x80
#undef MAP_SYNC

#undef MCL_CURRENT
#define MCL_CURRENT 0x2000
Expand Down
1 change: 0 additions & 1 deletion lib/libc/include/powerpc64-linux-musl/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#define MAP_NORESERVE 0x40
#undef MAP_LOCKED
#define MAP_LOCKED 0x80
#undef MAP_SYNC

#undef MCL_CURRENT
#define MCL_CURRENT 0x2000
Expand Down

0 comments on commit dba94f4

Please sign in to comment.