[ltrace-commits] 01/01: Remove void argument lists from libpthread.so.conf

Petr Machata pmachata-guest at moszumanska.debian.org
Wed Mar 11 22:38:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

pmachata-guest pushed a commit to branch master
in repository ltrace.

commit 9c6ba6adc6aad1be1761b73cd34ef67d5cd5823e
Author: Роман Донченко <dpb at corrigendum.ru>
Date:   Thu Mar 12 01:12:41 2015 +0300

    Remove void argument lists from libpthread.so.conf
    
    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>
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git



More information about the ltrace-commits mailing list