[Ltrace-devel] [PATCH] Remove void argument lists from libpthread.so.conf
Роман Донченко
dpb at corrigendum.ru
Wed Mar 11 22:12:41 UTC 2015
They're undocumented and all-but-deprecated.
---
etc/libpthread.so.conf | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/etc/libpthread.so.conf b/etc/libpthread.so.conf
index 1096463..1cd8876 100644
--- a/etc/libpthread.so.conf
+++ b/etc/libpthread.so.conf
@@ -83,7 +83,7 @@ int pthread_create(+pthread_t *, pthread_attr_t *, void *, void *);
int pthread_detach(pthread_t);
int pthread_equal(pthread_t, pthread_t);
void pthread_exit(void *);
-int pthread_getconcurrency(void);
+int pthread_getconcurrency();
int pthread_getcpuclockid(pthread_t, +clockid_t *);
int pthread_getschedparam(pthread_t, +sched_policy_e *, +sched_param *);
void *pthread_getspecific(pthread_key_t);
@@ -132,7 +132,7 @@ int pthread_rwlockattr_getpshared(pthread_rwlockattr_t *, +pthread_pshared_e *
int pthread_rwlockattr_init(pthread_rwlockattr_t *);
int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *, pthread_pshared_e);
-pthread_t pthread_self(void);
+pthread_t pthread_self();
int pthread_setcancelstate(pthread_cancel_state_e, +pthread_cancel_state_e *);
int pthread_setcanceltype(pthread_cancel_type_e, +pthread_cancel_type_e *);
int pthread_setconcurrency(int);
@@ -146,7 +146,7 @@ int pthread_spin_lock(pthread_spinlock_t *);
int pthread_spin_trylock(pthread_spinlock_t *);
int pthread_spin_unlock(pthread_spinlock_t *);
-void pthread_testcancel(void);
+void pthread_testcancel();
# <signal.h>
--
1.8.5.6
More information about the Ltrace-devel
mailing list