summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/pthread/pthread-functions.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-08 16:01:41 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-17 11:22:40 +0200
commit4458cc330e6e5b7369151ebe172c00faceb43ade (patch)
treeeb96eb6ccda71a9b93b9f9b7d5cfda500d23d92b /libpthread/nptl/sysdeps/pthread/pthread-functions.h
parentff58e44fc38474b1898c59caf9a5e75d0d8c6c57 (diff)
cleanup PTR_MANGLE/PTR_DEMANGLE support
As this is only implemented for a few architecture and not well tested, just remove it. Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pthread-functions.h')
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread-functions.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread-functions.h b/libpthread/nptl/sysdeps/pthread/pthread-functions.h
index 119fe6b71..9c78180c5 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread-functions.h
+++ b/libpthread/nptl/sysdeps/pthread/pthread-functions.h
@@ -102,15 +102,7 @@ struct pthread_functions
extern struct pthread_functions __libc_pthread_functions attribute_hidden;
extern int __libc_pthread_functions_init attribute_hidden;
-#if 0 /* def PTR_DEMANGLE */ /* we did not mangle, so do not demangle */
-# define PTHFCT_CALL(fct, params) \
- ({ __typeof (__libc_pthread_functions.fct) __p; \
- __p = __libc_pthread_functions.fct; \
- PTR_DEMANGLE (__p); \
- __p params; })
-#else
# define PTHFCT_CALL(fct, params) \
__libc_pthread_functions.fct params
-#endif
#endif /* pthread-functions.h */