v1.1.24 update
[musl-tables] / data / abi_func.x86_64.diff
1 --- abi_func.x86_64.glibc
2 +++ abi_func.x86_64.musl
3 @@ -2 +2 @@
4 -void __assert_fail(char const*, char const*, unsigned int, char const*)
5 +void __assert_fail(char const*, char const*, int, char const*)
6 @@ -6,0 +7 @@
7 +int __flt_rounds()
8 @@ -11 +12 @@
9 -void __fpurge(_IO_FILE*)
10 +int __fpurge(_IO_FILE*)
11 @@ -12,0 +14 @@
12 +unsigned long __freadahead(_IO_FILE*)
13 @@ -13,0 +16,3 @@
14 +char const* __freadptr(_IO_FILE*, unsigned long*)
15 +void __freadptrinc(_IO_FILE*, unsigned long)
16 +void __fseterr(_IO_FILE*)
17 @@ -25,0 +31 @@
18 +int _flush_cache(void*, int, int)
19 @@ -27,0 +34,2 @@
20 +void _pthread_cleanup_pop(__ptcb*, int)
21 +void _pthread_cleanup_push(__ptcb*, void (*)(void*), void*)
22 @@ -95,0 +104,2 @@
23 +int cachectl(void*, int, int)
24 +int cacheflush(void*, int, int)
25 @@ -101,0 +112 @@
26 +void call_once(int*, void (*)())
27 @@ -165,0 +177,6 @@
28 +int cnd_broadcast(cnd_t*)
29 +void cnd_destroy(cnd_t*)
30 +int cnd_init(cnd_t*)
31 +int cnd_signal(cnd_t*)
32 +int cnd_timedwait(cnd_t*, mtx_t*, timespec const*)
33 +int cnd_wait(cnd_t*, mtx_t*)
34 @@ -299 +316 @@
35 -int fanotify_mark(int, unsigned int, unsigned long, int, char const*)
36 +int fanotify_mark(int, unsigned int, unsigned long long, int, char const*)
37 @@ -337,0 +355 @@
38 +char* fgetln(_IO_FILE*, unsigned long*)
39 @@ -435,0 +454 @@
40 +int getdents(int, dirent*, unsigned long)
41 @@ -492,0 +512 @@
42 +char* gets(char*)
43 @@ -505 +525 @@
44 -int gettimeofday(timeval*, timezone*)
45 +int gettimeofday(timeval*, void*)
46 @@ -508,3 +528,3 @@
47 -utmp* getutent()
48 -utmp* getutid(utmp const*)
49 -utmp* getutline(utmp const*)
50 +utmpx* getutent()
51 +utmpx* getutid(utmpx const*)
52 +utmpx* getutline(utmpx const*)
53 @@ -548,0 +569 @@
54 +char* index(char const*, int)
55 @@ -565 +586 @@
56 -int ioctl(int, unsigned long, ...)
57 +int ioctl(int, int, ...)
58 @@ -586,0 +608 @@
59 +int issetugid()
60 @@ -649 +671 @@
61 -int lio_listio(int, aiocb* const*, int, sigevent*)
62 +int lio_listio(int, aiocb* const restrict*, int, sigevent*)
63 @@ -710,0 +733 @@
64 +void* memchr(void const*, int, unsigned long)
65 @@ -715,0 +739 @@
66 +void* memrchr(void const*, int, unsigned long)
67 @@ -755,0 +780,6 @@
68 +void mtx_destroy(mtx_t*)
69 +int mtx_init(mtx_t*, int)
70 +int mtx_lock(mtx_t*)
71 +int mtx_timedlock(mtx_t*, timespec const*)
72 +int mtx_trylock(mtx_t*)
73 +int mtx_unlock(mtx_t*)
74 @@ -803,0 +834 @@
75 +int posix_close(int, int)
76 @@ -841 +872 @@
77 -int prlimit(int, __rlimit_resource, rlimit const*, rlimit*)
78 +int prlimit(int, int, rlimit const*, rlimit*)
79 @@ -944,5 +975,5 @@
80 -int pthread_spin_destroy(int volatile*)
81 -int pthread_spin_init(int volatile*, int)
82 -int pthread_spin_lock(int volatile*)
83 -int pthread_spin_trylock(int volatile*)
84 -int pthread_spin_unlock(int volatile*)
85 +int pthread_spin_destroy(int*)
86 +int pthread_spin_init(int*, int)
87 +int pthread_spin_lock(int*)
88 +int pthread_spin_trylock(int*)
89 +int pthread_spin_unlock(int*)
90 @@ -952 +983 @@
91 -long ptrace(__ptrace_request, ...)
92 +long ptrace(int, ...)
93 @@ -964 +995 @@
94 -utmp* pututline(utmp const*)
95 +utmpx* pututline(utmpx const*)
96 @@ -990 +1021 @@
97 -int recvmmsg(int, mmsghdr*, unsigned int, int, timespec*)
98 +int recvmmsg(int, mmsghdr*, unsigned int, unsigned int, timespec*)
99 @@ -1015,0 +1047 @@
100 +char* rindex(char const*, int)
101 @@ -1064 +1096 @@
102 -int sendmmsg(int, mmsghdr*, unsigned int, int)
103 +int sendmmsg(int, mmsghdr*, unsigned int, unsigned int)
104 @@ -1179,0 +1212 @@
105 +char* strcasestr(char const*, char const*)
106 @@ -1180,0 +1214,2 @@
107 +char* strchr(char const*, int)
108 +char* strchrnul(char const*, int)
109 @@ -1189 +1224 @@
110 -char* strerror_r(int, char*, unsigned long)
111 +int strerror_r(int, char*, unsigned long)
112 @@ -1193,0 +1229,2 @@
113 +unsigned long strlcat(char*, char const*, unsigned long)
114 +unsigned long strlcpy(char*, char const*, unsigned long)
115 @@ -1201,0 +1239 @@
116 +char* strpbrk(char const*, char const*)
117 @@ -1202,0 +1241 @@
118 +char* strrchr(char const*, int)
119 @@ -1205,0 +1245 @@
120 +char* strstr(char const*, char const*)
121 @@ -1263,0 +1304,8 @@
122 +int thrd_create(unsigned long*, int (*)(void*), void*)
123 +unsigned long thrd_current()
124 +int thrd_detach(unsigned long)
125 +int thrd_equal(unsigned long, unsigned long)
126 +void thrd_exit(int)
127 +int thrd_join(unsigned long, int*)
128 +int thrd_sleep(timespec const*, timespec*)
129 +void thrd_yield()
130 @@ -1293,0 +1342,4 @@
131 +int tss_create(unsigned int*, void (*)(void*))
132 +void tss_delete(unsigned int)
133 +void* tss_get(unsigned int)
134 +int tss_set(unsigned int, void*)
135 @@ -1312 +1364 @@
136 -void updwtmp(char const*, utmp const*)
137 +void updwtmp(char const*, utmpx const*)
138 @@ -1358,0 +1411 @@
139 +wchar_t* wcschr(wchar_t const*, wchar_t)
140 @@ -1373,0 +1427,2 @@
141 +wchar_t* wcspbrk(wchar_t const*, wchar_t const*)
142 +wchar_t* wcsrchr(wchar_t const*, wchar_t)
143 @@ -1375,0 +1431 @@
144 +wchar_t* wcsstr(wchar_t const*, wchar_t const*)
145 @@ -1386,0 +1443 @@
146 +wchar_t* wcswcs(wchar_t const*, wchar_t const*)
147 @@ -1396,0 +1454 @@
148 +wchar_t* wmemchr(wchar_t const*, wchar_t, unsigned long)