forked from OSchip/llvm-project
[compiler-rt] [msan] Correct the __libc_thr_keycreate prototype
Fixes build with GCC8.
This commit is contained in:
parent
e345bc6e65
commit
858b15cb9c
|
@ -1070,8 +1070,9 @@ INTERCEPTOR(int, pthread_key_create, __sanitizer_pthread_key_t *key,
|
|||
}
|
||||
|
||||
#if SANITIZER_NETBSD
|
||||
INTERCEPTOR(void, __libc_thr_keycreate, void *m, void (*dtor)(void *value)) \
|
||||
ALIAS(WRAPPER_NAME(pthread_key_create));
|
||||
INTERCEPTOR(int, __libc_thr_keycreate, __sanitizer_pthread_key_t *m,
|
||||
void (*dtor)(void *value))
|
||||
ALIAS(WRAPPER_NAME(pthread_key_create));
|
||||
#endif
|
||||
|
||||
INTERCEPTOR(int, pthread_join, void *th, void **retval) {
|
||||
|
|
Loading…
Reference in New Issue