[Glibc-bsd-commits] r5968 - in trunk/glibc-ports-2.23: fbtl fbtl_db kfreebsd kfreebsd/fbtl
aurel32 at alioth.debian.org
aurel32 at alioth.debian.org
Tue Mar 22 20:25:47 UTC 2016
Author: aurel32
Date: 2016-03-22 20:25:47 +0000 (Tue, 22 Mar 2016)
New Revision: 5968
Modified:
trunk/glibc-ports-2.23/fbtl/cleanup_compat.c
trunk/glibc-ports-2.23/fbtl/cleanup_defer_compat.c
trunk/glibc-ports-2.23/fbtl/old_pthread_cond_broadcast.c
trunk/glibc-ports-2.23/fbtl/old_pthread_cond_destroy.c
trunk/glibc-ports-2.23/fbtl/old_pthread_cond_init.c
trunk/glibc-ports-2.23/fbtl/old_pthread_cond_signal.c
trunk/glibc-ports-2.23/fbtl/old_pthread_cond_timedwait.c
trunk/glibc-ports-2.23/fbtl/old_pthread_cond_wait.c
trunk/glibc-ports-2.23/fbtl/pt-raise.c
trunk/glibc-ports-2.23/fbtl/pthread_atfork.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_getdetachstate.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_getguardsize.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_getinheritsched.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_getschedparam.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_getschedpolicy.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_getscope.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_getstack.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_getstackaddr.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_getstacksize.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_init.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_setdetachstate.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_setguardsize.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_setinheritsched.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_setschedparam.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_setschedpolicy.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_setscope.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_setstack.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_setstackaddr.c
trunk/glibc-ports-2.23/fbtl/pthread_attr_setstacksize.c
trunk/glibc-ports-2.23/fbtl/pthread_barrier_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_barrier_init.c
trunk/glibc-ports-2.23/fbtl/pthread_barrier_wait.c
trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_getpshared.c
trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_init.c
trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_setpshared.c
trunk/glibc-ports-2.23/fbtl/pthread_cancel.c
trunk/glibc-ports-2.23/fbtl/pthread_cond_broadcast.c
trunk/glibc-ports-2.23/fbtl/pthread_cond_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_cond_init.c
trunk/glibc-ports-2.23/fbtl/pthread_cond_signal.c
trunk/glibc-ports-2.23/fbtl/pthread_cond_timedwait.c
trunk/glibc-ports-2.23/fbtl/pthread_cond_wait.c
trunk/glibc-ports-2.23/fbtl/pthread_condattr_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_condattr_getclock.c
trunk/glibc-ports-2.23/fbtl/pthread_condattr_getpshared.c
trunk/glibc-ports-2.23/fbtl/pthread_condattr_init.c
trunk/glibc-ports-2.23/fbtl/pthread_condattr_setclock.c
trunk/glibc-ports-2.23/fbtl/pthread_condattr_setpshared.c
trunk/glibc-ports-2.23/fbtl/pthread_create.c
trunk/glibc-ports-2.23/fbtl/pthread_detach.c
trunk/glibc-ports-2.23/fbtl/pthread_equal.c
trunk/glibc-ports-2.23/fbtl/pthread_exit.c
trunk/glibc-ports-2.23/fbtl/pthread_getattr_np.c
trunk/glibc-ports-2.23/fbtl/pthread_getcpuclockid.c
trunk/glibc-ports-2.23/fbtl/pthread_getschedparam.c
trunk/glibc-ports-2.23/fbtl/pthread_getspecific.c
trunk/glibc-ports-2.23/fbtl/pthread_join.c
trunk/glibc-ports-2.23/fbtl/pthread_key_create.c
trunk/glibc-ports-2.23/fbtl/pthread_key_delete.c
trunk/glibc-ports-2.23/fbtl/pthread_mutex_consistent.c
trunk/glibc-ports-2.23/fbtl/pthread_mutex_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_mutex_getprioceiling.c
trunk/glibc-ports-2.23/fbtl/pthread_mutex_init.c
trunk/glibc-ports-2.23/fbtl/pthread_mutex_lock.c
trunk/glibc-ports-2.23/fbtl/pthread_mutex_setprioceiling.c
trunk/glibc-ports-2.23/fbtl/pthread_mutex_timedlock.c
trunk/glibc-ports-2.23/fbtl/pthread_mutex_trylock.c
trunk/glibc-ports-2.23/fbtl/pthread_mutex_unlock.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getprioceiling.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getprotocol.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getpshared.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getrobust.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_gettype.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_init.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setprioceiling.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setprotocol.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setpshared.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setrobust.c
trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_settype.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlock_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlock_init.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlock_rdlock.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlock_timedrdlock.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlock_timedwrlock.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlock_wrlock.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_getkind_np.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_getpshared.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_init.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_setkind_np.c
trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_setpshared.c
trunk/glibc-ports-2.23/fbtl/pthread_setcancelstate.c
trunk/glibc-ports-2.23/fbtl/pthread_setcanceltype.c
trunk/glibc-ports-2.23/fbtl/pthread_setconcurrency.c
trunk/glibc-ports-2.23/fbtl/pthread_setschedparam.c
trunk/glibc-ports-2.23/fbtl/pthread_setschedprio.c
trunk/glibc-ports-2.23/fbtl/pthread_setspecific.c
trunk/glibc-ports-2.23/fbtl/pthread_spin_destroy.c
trunk/glibc-ports-2.23/fbtl/pthread_timedjoin.c
trunk/glibc-ports-2.23/fbtl/pthread_tryjoin.c
trunk/glibc-ports-2.23/fbtl/sem_close.c
trunk/glibc-ports-2.23/fbtl/sem_destroy.c
trunk/glibc-ports-2.23/fbtl/sem_getvalue.c
trunk/glibc-ports-2.23/fbtl/sem_init.c
trunk/glibc-ports-2.23/fbtl/sigaction.c
trunk/glibc-ports-2.23/fbtl_db/td_ta_clear_event.c
trunk/glibc-ports-2.23/fbtl_db/td_ta_set_event.c
trunk/glibc-ports-2.23/fbtl_db/td_thr_clear_event.c
trunk/glibc-ports-2.23/fbtl_db/td_thr_event_enable.c
trunk/glibc-ports-2.23/fbtl_db/td_thr_set_event.c
trunk/glibc-ports-2.23/kfreebsd/aio_sigqueue.c
trunk/glibc-ports-2.23/kfreebsd/brk.c
trunk/glibc-ports-2.23/kfreebsd/dl-openat64.c
trunk/glibc-ports-2.23/kfreebsd/faccessat.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/libc_pthread_init.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pt-raise.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getcpuclockid.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getname.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getschedparam.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_kill.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_mutex_cond_lock.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_once.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setname.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setschedparam.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setschedprio.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/raise.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/register-atfork.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/sigprocmask.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/sigtimedwait.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/sigwait.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/sigwaitinfo.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_create.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_delete.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_getoverr.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_gettime.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_settime.c
trunk/glibc-ports-2.23/kfreebsd/fbtl/unregister-atfork.c
trunk/glibc-ports-2.23/kfreebsd/futimesat.c
trunk/glibc-ports-2.23/kfreebsd/gai_sigqueue.c
trunk/glibc-ports-2.23/kfreebsd/getvfsbyname.c
trunk/glibc-ports-2.23/kfreebsd/openat.c
trunk/glibc-ports-2.23/kfreebsd/remove.c
trunk/glibc-ports-2.23/kfreebsd/shm_open.c
trunk/glibc-ports-2.23/kfreebsd/sigaction.c
trunk/glibc-ports-2.23/kfreebsd/times.c
trunk/glibc-ports-2.23/kfreebsd/timespec_get.c
trunk/glibc-ports-2.23/kfreebsd/ttyname.c
trunk/glibc-ports-2.23/kfreebsd/ttyname_r.c
Log:
Convert a function definitions to prototype style.
Modified: trunk/glibc-ports-2.23/fbtl/cleanup_compat.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/cleanup_compat.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/cleanup_compat.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,10 +21,8 @@
void
-_pthread_cleanup_push (buffer, routine, arg)
- struct _pthread_cleanup_buffer *buffer;
- void (*routine) (void *);
- void *arg;
+_pthread_cleanup_push (struct _pthread_cleanup_buffer *buffer,
+ void (*routine) (void *), void *arg)
{
struct pthread *self = THREAD_SELF;
@@ -38,9 +36,7 @@
void
-_pthread_cleanup_pop (buffer, execute)
- struct _pthread_cleanup_buffer *buffer;
- int execute;
+_pthread_cleanup_pop (struct _pthread_cleanup_buffer *buffer, int execute)
{
struct pthread *self __attribute ((unused)) = THREAD_SELF;
Modified: trunk/glibc-ports-2.23/fbtl/cleanup_defer_compat.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/cleanup_defer_compat.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/cleanup_defer_compat.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,10 +20,8 @@
void
-_pthread_cleanup_push_defer (buffer, routine, arg)
- struct _pthread_cleanup_buffer *buffer;
- void (*routine) (void *);
- void *arg;
+_pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *buffer,
+ void (*routine) (void *), void *arg)
{
struct pthread *self = THREAD_SELF;
@@ -59,9 +57,8 @@
void
-_pthread_cleanup_pop_restore (buffer, execute)
- struct _pthread_cleanup_buffer *buffer;
- int execute;
+_pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer,
+ int execute)
{
struct pthread *self = THREAD_SELF;
Modified: trunk/glibc-ports-2.23/fbtl/old_pthread_cond_broadcast.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/old_pthread_cond_broadcast.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/old_pthread_cond_broadcast.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,8 +25,7 @@
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
int
-__pthread_cond_broadcast_2_0 (cond)
- pthread_cond_2_0_t *cond;
+__pthread_cond_broadcast_2_0 (pthread_cond_2_0_t *cond)
{
if (cond->cond == NULL)
{
Modified: trunk/glibc-ports-2.23/fbtl/old_pthread_cond_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/old_pthread_cond_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/old_pthread_cond_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,8 +23,7 @@
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
int
-__pthread_cond_destroy_2_0 (cond)
- pthread_cond_2_0_t *cond;
+__pthread_cond_destroy_2_0 (pthread_cond_2_0_t *cond)
{
/* Free the memory which was eventually allocated. */
free (cond->cond);
Modified: trunk/glibc-ports-2.23/fbtl/old_pthread_cond_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/old_pthread_cond_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/old_pthread_cond_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,9 +23,8 @@
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
int
-__pthread_cond_init_2_0 (cond, cond_attr)
- pthread_cond_2_0_t *cond;
- const pthread_condattr_t *cond_attr;
+__pthread_cond_init_2_0 (pthread_cond_2_0_t *cond,
+ const pthread_condattr_t *cond_attr)
{
struct pthread_condattr *icond_attr = (struct pthread_condattr *) cond_attr;
Modified: trunk/glibc-ports-2.23/fbtl/old_pthread_cond_signal.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/old_pthread_cond_signal.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/old_pthread_cond_signal.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,8 +25,7 @@
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
int
-__pthread_cond_signal_2_0 (cond)
- pthread_cond_2_0_t *cond;
+__pthread_cond_signal_2_0 (pthread_cond_2_0_t *cond)
{
if (cond->cond == NULL)
{
Modified: trunk/glibc-ports-2.23/fbtl/old_pthread_cond_timedwait.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/old_pthread_cond_timedwait.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/old_pthread_cond_timedwait.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,10 +25,8 @@
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
int
-__pthread_cond_timedwait_2_0 (cond, mutex, abstime)
- pthread_cond_2_0_t *cond;
- pthread_mutex_t *mutex;
- const struct timespec *abstime;
+__pthread_cond_timedwait_2_0 (pthread_cond_2_0_t *cond, pthread_mutex_t *mutex,
+ const struct timespec *abstime)
{
if (cond->cond == NULL)
{
Modified: trunk/glibc-ports-2.23/fbtl/old_pthread_cond_wait.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/old_pthread_cond_wait.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/old_pthread_cond_wait.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,9 +25,7 @@
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
int
-__pthread_cond_wait_2_0 (cond, mutex)
- pthread_cond_2_0_t *cond;
- pthread_mutex_t *mutex;
+__pthread_cond_wait_2_0 (pthread_cond_2_0_t *cond, pthread_mutex_t *mutex)
{
if (cond->cond == NULL)
{
Modified: trunk/glibc-ports-2.23/fbtl/pt-raise.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pt-raise.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pt-raise.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,8 +22,7 @@
int
-raise (sig)
- int sig;
+raise (int sig)
{
/* This is what POSIX says must happen. */
return pthread_kill (pthread_self (), sig);
Modified: trunk/glibc-ports-2.23/fbtl/pthread_atfork.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_atfork.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_atfork.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -48,10 +48,8 @@
/* Don't mark the compatibility function as hidden. */
attribute_hidden
#endif
-__pthread_atfork (prepare, parent, child)
- void (*prepare) (void);
- void (*parent) (void);
- void (*child) (void);
+__pthread_atfork (void (*prepare) (void), void (*parent) (void),
+ void (*child) (void))
{
return __register_atfork (prepare, parent, child,
&__dso_handle == NULL ? NULL : __dso_handle);
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,8 +24,7 @@
#include <shlib-compat.h>
int
-__pthread_attr_destroy (attr)
- pthread_attr_t *attr;
+__pthread_attr_destroy (pthread_attr_t *attr)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_getdetachstate.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_getdetachstate.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_getdetachstate.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-__pthread_attr_getdetachstate (attr, detachstate)
- const pthread_attr_t *attr;
- int *detachstate;
+__pthread_attr_getdetachstate (const pthread_attr_t *attr, int *detachstate)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_getguardsize.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_getguardsize.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_getguardsize.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-pthread_attr_getguardsize (attr, guardsize)
- const pthread_attr_t *attr;
- size_t *guardsize;
+pthread_attr_getguardsize (const pthread_attr_t *attr, size_t *guardsize)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_getinheritsched.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_getinheritsched.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_getinheritsched.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-__pthread_attr_getinheritsched (attr, inherit)
- const pthread_attr_t *attr;
- int *inherit;
+__pthread_attr_getinheritsched (const pthread_attr_t *attr, int *inherit)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_getschedparam.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_getschedparam.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_getschedparam.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,8 @@
int
-__pthread_attr_getschedparam (attr, param)
- const pthread_attr_t *attr;
- struct sched_param *param;
+__pthread_attr_getschedparam (const pthread_attr_t *attr,
+ struct sched_param *param)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_getschedpolicy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_getschedpolicy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_getschedpolicy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-__pthread_attr_getschedpolicy (attr, policy)
- const pthread_attr_t *attr;
- int *policy;
+__pthread_attr_getschedpolicy (const pthread_attr_t *attr, int *policy)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_getscope.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_getscope.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_getscope.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-__pthread_attr_getscope (attr, scope)
- const pthread_attr_t *attr;
- int *scope;
+__pthread_attr_getscope (const pthread_attr_t *attr, int *scope)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_getstack.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_getstack.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_getstack.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,10 +21,8 @@
int
-__pthread_attr_getstack (attr, stackaddr, stacksize)
- const pthread_attr_t *attr;
- void **stackaddr;
- size_t *stacksize;
+__pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr,
+ size_t *stacksize)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_getstackaddr.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_getstackaddr.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_getstackaddr.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_attr_getstackaddr (attr, stackaddr)
- const pthread_attr_t *attr;
- void **stackaddr;
+__pthread_attr_getstackaddr (const pthread_attr_t *attr, void **stackaddr)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_getstacksize.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_getstacksize.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_getstacksize.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-__pthread_attr_getstacksize (attr, stacksize)
- const pthread_attr_t *attr;
- size_t *stacksize;
+__pthread_attr_getstacksize (const pthread_attr_t *attr, size_t *stacksize)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -30,8 +30,7 @@
int
-__pthread_attr_init_2_1 (attr)
- pthread_attr_t *attr;
+__pthread_attr_init_2_1 (pthread_attr_t *attr)
{
struct pthread_attr *iattr;
@@ -54,8 +53,7 @@
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
int
-__pthread_attr_init_2_0 (attr)
- pthread_attr_t *attr;
+__pthread_attr_init_2_0 (pthread_attr_t *attr)
{
/* This code is specific to the old LinuxThread code which has a too
small pthread_attr_t definition. The struct looked like
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_setdetachstate.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_setdetachstate.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_setdetachstate.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_attr_setdetachstate (attr, detachstate)
- pthread_attr_t *attr;
- int detachstate;
+__pthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_setguardsize.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_setguardsize.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_setguardsize.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-pthread_attr_setguardsize (attr, guardsize)
- pthread_attr_t *attr;
- size_t guardsize;
+pthread_attr_setguardsize (pthread_attr_t *attr, size_t guardsize)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_setinheritsched.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_setinheritsched.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_setinheritsched.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_attr_setinheritsched (attr, inherit)
- pthread_attr_t *attr;
- int inherit;
+__pthread_attr_setinheritsched (pthread_attr_t *attr, int inherit)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_setschedparam.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_setschedparam.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_setschedparam.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,9 +23,8 @@
int
-__pthread_attr_setschedparam (attr, param)
- pthread_attr_t *attr;
- const struct sched_param *param;
+__pthread_attr_setschedparam (pthread_attr_t *attr,
+ const struct sched_param *param)
{
assert (sizeof (*attr) >= sizeof (struct pthread_attr));
struct pthread_attr *iattr = (struct pthread_attr *) attr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_setschedpolicy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_setschedpolicy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_setschedpolicy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_attr_setschedpolicy (attr, policy)
- pthread_attr_t *attr;
- int policy;
+__pthread_attr_setschedpolicy (pthread_attr_t *attr, int policy)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_setscope.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_setscope.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_setscope.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_attr_setscope (attr, scope)
- pthread_attr_t *attr;
- int scope;
+__pthread_attr_setscope (pthread_attr_t *attr, int scope)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_setstack.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_setstack.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_setstack.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -28,10 +28,8 @@
int
-__pthread_attr_setstack (attr, stackaddr, stacksize)
- pthread_attr_t *attr;
- void *stackaddr;
- size_t stacksize;
+__pthread_attr_setstack (pthread_attr_t *attr, void *stackaddr,
+ size_t stacksize)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_setstackaddr.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_setstackaddr.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_setstackaddr.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_attr_setstackaddr (attr, stackaddr)
- pthread_attr_t *attr;
- void *stackaddr;
+__pthread_attr_setstackaddr (pthread_attr_t *attr, void *stackaddr)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_attr_setstacksize.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_attr_setstacksize.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_attr_setstacksize.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -27,9 +27,7 @@
int
-__pthread_attr_setstacksize (attr, stacksize)
- pthread_attr_t *attr;
- size_t stacksize;
+__pthread_attr_setstacksize (pthread_attr_t *attr, size_t stacksize)
{
struct pthread_attr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_barrier_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_barrier_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_barrier_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,8 +22,7 @@
int
-pthread_barrier_destroy (barrier)
- pthread_barrier_t *barrier;
+pthread_barrier_destroy (pthread_barrier_t *barrier)
{
struct pthread_barrier *ibarrier;
int result = EBUSY;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_barrier_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_barrier_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_barrier_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -29,10 +29,9 @@
int
-pthread_barrier_init (barrier, attr, count)
- pthread_barrier_t *barrier;
- const pthread_barrierattr_t *attr;
- unsigned int count;
+pthread_barrier_init (pthread_barrier_t *barrier,
+ const pthread_barrierattr_t *attr,
+ unsigned int count)
{
struct pthread_barrier *ibarrier;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_barrier_wait.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_barrier_wait.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_barrier_wait.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,8 +24,7 @@
/* Wait on barrier. */
int
-pthread_barrier_wait (barrier)
- pthread_barrier_t *barrier;
+pthread_barrier_wait (pthread_barrier_t *barrier)
{
struct pthread_barrier *ibarrier = (struct pthread_barrier *) barrier;
int result = 0;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,8 +20,7 @@
int
-pthread_barrierattr_destroy (attr)
- pthread_barrierattr_t *attr;
+pthread_barrierattr_destroy (pthread_barrierattr_t *attr)
{
/* Nothing to do. */
Modified: trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_getpshared.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_getpshared.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_getpshared.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,8 @@
int
-pthread_barrierattr_getpshared (attr, pshared)
- const pthread_barrierattr_t *attr;
- int *pshared;
+pthread_barrierattr_getpshared (const pthread_barrierattr_t *attr,
+ int *pshared)
{
*pshared = ((const struct pthread_barrierattr *) attr)->pshared;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,8 +20,7 @@
int
-pthread_barrierattr_init (attr)
- pthread_barrierattr_t *attr;
+pthread_barrierattr_init (pthread_barrierattr_t *attr)
{
((struct pthread_barrierattr *) attr)->pshared = PTHREAD_PROCESS_PRIVATE;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_setpshared.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_setpshared.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_barrierattr_setpshared.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-pthread_barrierattr_setpshared (attr, pshared)
- pthread_barrierattr_t *attr;
- int pshared;
+pthread_barrierattr_setpshared (pthread_barrierattr_t *attr, int pshared)
{
struct pthread_barrierattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_cancel.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_cancel.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_cancel.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,8 +25,7 @@
int
-pthread_cancel (th)
- pthread_t th;
+pthread_cancel (pthread_t th)
{
volatile struct pthread *pd = (volatile struct pthread *) th;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_cond_broadcast.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_cond_broadcast.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_cond_broadcast.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -29,8 +29,7 @@
int
-__pthread_cond_broadcast (cond)
- pthread_cond_t *cond;
+__pthread_cond_broadcast (pthread_cond_t *cond)
{
LIBC_PROBE (cond_broadcast, 1, cond);
Modified: trunk/glibc-ports-2.23/fbtl/pthread_cond_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_cond_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_cond_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,8 +23,7 @@
int
-__pthread_cond_destroy (cond)
- pthread_cond_t *cond;
+__pthread_cond_destroy (pthread_cond_t *cond)
{
int pshared = (cond->__data.__mutex == (void *) ~0l)
? LLL_SHARED : LLL_PRIVATE;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_cond_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_cond_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_cond_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_cond_init (cond, cond_attr)
- pthread_cond_t *cond;
- const pthread_condattr_t *cond_attr;
+__pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *cond_attr)
{
struct pthread_condattr *icond_attr = (struct pthread_condattr *) cond_attr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_cond_signal.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_cond_signal.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_cond_signal.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -29,8 +29,7 @@
int
-__pthread_cond_signal (cond)
- pthread_cond_t *cond;
+__pthread_cond_signal (pthread_cond_t *cond)
{
int pshared = (cond->__data.__mutex == (void *) ~0l)
? LLL_SHARED : LLL_PRIVATE;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_cond_timedwait.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_cond_timedwait.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_cond_timedwait.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -48,10 +48,8 @@
};
int
-__pthread_cond_timedwait (cond, mutex, abstime)
- pthread_cond_t *cond;
- pthread_mutex_t *mutex;
- const struct timespec *abstime;
+__pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex,
+ const struct timespec *abstime)
{
struct _pthread_cleanup_buffer buffer;
struct _condvar_cleanup_buffer cbuffer;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_cond_wait.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_cond_wait.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_cond_wait.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -97,9 +97,7 @@
int
-__pthread_cond_wait (cond, mutex)
- pthread_cond_t *cond;
- pthread_mutex_t *mutex;
+__pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex)
{
struct _pthread_cleanup_buffer buffer;
struct _condvar_cleanup_buffer cbuffer;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_condattr_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_condattr_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_condattr_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,8 +20,7 @@
int
-__pthread_condattr_destroy (attr)
- pthread_condattr_t *attr;
+__pthread_condattr_destroy (pthread_condattr_t *attr)
{
/* Nothing to be done. */
return 0;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_condattr_getclock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_condattr_getclock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_condattr_getclock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,7 @@
int
-pthread_condattr_getclock (attr, clock_id)
- const pthread_condattr_t *attr;
- clockid_t *clock_id;
+pthread_condattr_getclock (const pthread_condattr_t *attr, clockid_t *clock_id)
{
*clock_id = (((((const struct pthread_condattr *) attr)->value) >> 1)
& ((1 << COND_NWAITERS_SHIFT) - 1));
Modified: trunk/glibc-ports-2.23/fbtl/pthread_condattr_getpshared.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_condattr_getpshared.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_condattr_getpshared.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,7 @@
int
-pthread_condattr_getpshared (attr, pshared)
- const pthread_condattr_t *attr;
- int *pshared;
+pthread_condattr_getpshared (const pthread_condattr_t *attr, int *pshared)
{
*pshared = ((const struct pthread_condattr *) attr)->value & 1;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_condattr_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_condattr_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_condattr_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,8 +21,7 @@
int
-__pthread_condattr_init (attr)
- pthread_condattr_t *attr;
+__pthread_condattr_init (pthread_condattr_t *attr)
{
memset (attr, '\0', sizeof (*attr));
Modified: trunk/glibc-ports-2.23/fbtl/pthread_condattr_setclock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_condattr_setclock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_condattr_setclock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -26,9 +26,7 @@
int
-pthread_condattr_setclock (attr, clock_id)
- pthread_condattr_t *attr;
- clockid_t clock_id;
+pthread_condattr_setclock (pthread_condattr_t *attr, clockid_t clock_id)
{
/* Only a few clocks are allowed. */
if (clock_id != CLOCK_MONOTONIC && clock_id != CLOCK_REALTIME)
Modified: trunk/glibc-ports-2.23/fbtl/pthread_condattr_setpshared.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_condattr_setpshared.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_condattr_setpshared.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,7 @@
#include <pthreadP.h>
int
-pthread_condattr_setpshared (attr, pshared)
- pthread_condattr_t *attr;
- int pshared;
+pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared)
{
if (pshared != PTHREAD_PROCESS_PRIVATE
&& __builtin_expect (pshared != PTHREAD_PROCESS_SHARED, 0))
Modified: trunk/glibc-ports-2.23/fbtl/pthread_create.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_create.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_create.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -62,8 +62,7 @@
struct pthread *
internal_function
-__find_in_stack_list (pd)
- struct pthread *pd;
+__find_in_stack_list (struct pthread *pd)
{
list_t *entry;
struct pthread *result = NULL;
@@ -446,11 +445,8 @@
int
-__pthread_create_2_1 (newthread, attr, start_routine, arg)
- pthread_t *newthread;
- const pthread_attr_t *attr;
- void *(*start_routine) (void *);
- void *arg;
+__pthread_create_2_1 (pthread_t *newthread, const pthread_attr_t *attr,
+ void *(*start_routine) (void *), void *arg)
{
STACK_VARIABLES;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_detach.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_detach.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_detach.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,8 +22,7 @@
int
-pthread_detach (th)
- pthread_t th;
+pthread_detach (pthread_t th)
{
struct pthread *pd = (struct pthread *) th;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_equal.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_equal.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_equal.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,7 @@
int
-__pthread_equal (thread1, thread2)
- pthread_t thread1;
- pthread_t thread2;
+__pthread_equal (pthread_t thread1, pthread_t thread2)
{
return thread1 == thread2;
}
Modified: trunk/glibc-ports-2.23/fbtl/pthread_exit.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_exit.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_exit.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,8 +21,7 @@
void
-__pthread_exit (value)
- void *value;
+__pthread_exit (void *value)
{
THREAD_SETMEM (THREAD_SELF, result, value);
Modified: trunk/glibc-ports-2.23/fbtl/pthread_getattr_np.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_getattr_np.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_getattr_np.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -30,9 +30,7 @@
int
-pthread_getattr_np (thread_id, attr)
- pthread_t thread_id;
- pthread_attr_t *attr;
+pthread_getattr_np (pthread_t thread_id, pthread_attr_t *attr)
{
struct pthread *thread = (struct pthread *) thread_id;
struct pthread_attr *iattr = (struct pthread_attr *) attr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_getcpuclockid.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_getcpuclockid.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_getcpuclockid.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-pthread_getcpuclockid (threadid, clockid)
- pthread_t threadid;
- clockid_t *clockid;
+pthread_getcpuclockid (pthread_t threadid, clockid_t *clockid)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_getschedparam.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_getschedparam.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_getschedparam.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,10 +23,8 @@
int
-__pthread_getschedparam (threadid, policy, param)
- pthread_t threadid;
- int *policy;
- struct sched_param *param;
+__pthread_getschedparam (pthread_t threadid, int *policy,
+ struct sched_param *param)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_getspecific.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_getspecific.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_getspecific.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,8 +21,7 @@
void *
-__pthread_getspecific (key)
- pthread_key_t key;
+__pthread_getspecific (pthread_key_t key)
{
struct pthread_key_data *data;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_join.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_join.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_join.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -37,9 +37,7 @@
int
-pthread_join (threadid, thread_return)
- pthread_t threadid;
- void **thread_return;
+pthread_join (pthread_t threadid, void **thread_return)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_key_create.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_key_create.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_key_create.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_key_create (key, destr)
- pthread_key_t *key;
- void (*destr) (void *);
+__pthread_key_create (pthread_key_t *key, void (*destr) (void *))
{
/* Find a slot in __pthread_kyes which is unused. */
for (size_t cnt = 0; cnt < PTHREAD_KEYS_MAX; ++cnt)
Modified: trunk/glibc-ports-2.23/fbtl/pthread_key_delete.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_key_delete.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_key_delete.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,8 +22,7 @@
int
-pthread_key_delete (key)
- pthread_key_t key;
+pthread_key_delete (pthread_key_t key)
{
int result = EINVAL;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutex_consistent.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutex_consistent.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutex_consistent.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,8 +21,7 @@
int
-pthread_mutex_consistent (mutex)
- pthread_mutex_t *mutex;
+pthread_mutex_consistent (pthread_mutex_t *mutex)
{
/* Test whether this is a robust mutex with a dead owner. */
if ((mutex->__data.__kind & PTHREAD_MUTEX_ROBUST_NORMAL_NP) == 0
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutex_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutex_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutex_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,8 +23,7 @@
int
-__pthread_mutex_destroy (mutex)
- pthread_mutex_t *mutex;
+__pthread_mutex_destroy (pthread_mutex_t *mutex)
{
LIBC_PROBE (mutex_destroy, 1, mutex);
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutex_getprioceiling.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutex_getprioceiling.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutex_getprioceiling.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-pthread_mutex_getprioceiling (mutex, prioceiling)
- const pthread_mutex_t *mutex;
- int *prioceiling;
+pthread_mutex_getprioceiling (const pthread_mutex_t *mutex, int *prioceiling)
{
if (__builtin_expect ((mutex->__data.__kind
& PTHREAD_MUTEX_PRIO_PROTECT_NP) == 0, 0))
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutex_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutex_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutex_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -37,9 +37,8 @@
int
-__pthread_mutex_init (mutex, mutexattr)
- pthread_mutex_t *mutex;
- const pthread_mutexattr_t *mutexattr;
+__pthread_mutex_init (pthread_mutex_t *mutex,
+ const pthread_mutexattr_t *mutexattr)
{
const struct pthread_mutexattr *imutexattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutex_lock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutex_lock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutex_lock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -42,8 +42,7 @@
int
-__pthread_mutex_lock (mutex)
- pthread_mutex_t *mutex;
+__pthread_mutex_lock (pthread_mutex_t *mutex)
{
assert (sizeof (mutex->__size) >= sizeof (mutex->__data));
@@ -488,8 +487,8 @@
#ifdef NO_INCR
void
-__pthread_mutex_cond_lock_adjust (mutex)
- pthread_mutex_t *mutex;
+internal_function
+__pthread_mutex_cond_lock_adjust (pthread_mutex_t *mutex)
{
assert ((mutex->__data.__kind & PTHREAD_MUTEX_PRIO_INHERIT_NP) != 0);
assert ((mutex->__data.__kind & PTHREAD_MUTEX_ROBUST_NORMAL_NP) == 0);
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutex_setprioceiling.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutex_setprioceiling.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutex_setprioceiling.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,10 +23,8 @@
int
-pthread_mutex_setprioceiling (mutex, prioceiling, old_ceiling)
- pthread_mutex_t *mutex;
- int prioceiling;
- int *old_ceiling;
+pthread_mutex_setprioceiling (pthread_mutex_t *mutex, int prioceiling,
+ int *old_ceiling)
{
/* The low bits of __kind aren't ever changed after pthread_mutex_init,
so we don't need a lock yet. */
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutex_timedlock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutex_timedlock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutex_timedlock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -27,9 +27,8 @@
int
-pthread_mutex_timedlock (mutex, abstime)
- pthread_mutex_t *mutex;
- const struct timespec *abstime;
+pthread_mutex_timedlock (pthread_mutex_t *mutex,
+ const struct timespec *abstime)
{
int oldval;
pid_t id = THREAD_GETMEM (THREAD_SELF, tid);
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutex_trylock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutex_trylock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutex_trylock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,8 +24,7 @@
int
-__pthread_mutex_trylock (mutex)
- pthread_mutex_t *mutex;
+__pthread_mutex_trylock (pthread_mutex_t *mutex)
{
int oldval;
pid_t id = THREAD_GETMEM (THREAD_SELF, tid);
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutex_unlock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutex_unlock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutex_unlock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -30,9 +30,7 @@
int
internal_function attribute_hidden
-__pthread_mutex_unlock_usercnt (mutex, decr)
- pthread_mutex_t *mutex;
- int decr;
+__pthread_mutex_unlock_usercnt (pthread_mutex_t *mutex, int decr)
{
int type = PTHREAD_MUTEX_TYPE (mutex);
if (__builtin_expect (type & ~PTHREAD_MUTEX_KIND_MASK_NP, 0))
@@ -295,8 +293,7 @@
int
-__pthread_mutex_unlock (mutex)
- pthread_mutex_t *mutex;
+__pthread_mutex_unlock (pthread_mutex_t *mutex)
{
return __pthread_mutex_unlock_usercnt (mutex, 1);
}
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,8 +20,7 @@
int
-__pthread_mutexattr_destroy (attr)
- pthread_mutexattr_t *attr;
+__pthread_mutexattr_destroy (pthread_mutexattr_t *attr)
{
return 0;
}
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getprioceiling.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getprioceiling.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getprioceiling.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,8 @@
int
-pthread_mutexattr_getprioceiling (attr, prioceiling)
- const pthread_mutexattr_t *attr;
- int *prioceiling;
+pthread_mutexattr_getprioceiling (const pthread_mutexattr_t *attr,
+ int *prioceiling)
{
const struct pthread_mutexattr *iattr;
int ceiling;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getprotocol.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getprotocol.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getprotocol.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-pthread_mutexattr_getprotocol (attr, protocol)
- const pthread_mutexattr_t *attr;
- int *protocol;
+pthread_mutexattr_getprotocol (const pthread_mutexattr_t *attr, int *protocol)
{
const struct pthread_mutexattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getpshared.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getpshared.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getpshared.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,7 @@
int
-pthread_mutexattr_getpshared (attr, pshared)
- const pthread_mutexattr_t *attr;
- int *pshared;
+pthread_mutexattr_getpshared (const pthread_mutexattr_t *attr, int *pshared)
{
const struct pthread_mutexattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getrobust.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getrobust.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_getrobust.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,7 @@
int
-pthread_mutexattr_getrobust (attr, robustness)
- const pthread_mutexattr_t *attr;
- int *robustness;
+pthread_mutexattr_getrobust (const pthread_mutexattr_t *attr, int *robustness)
{
const struct pthread_mutexattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_gettype.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_gettype.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_gettype.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,7 @@
int
-pthread_mutexattr_gettype (attr, kind)
- const pthread_mutexattr_t *attr;
- int *kind;
+pthread_mutexattr_gettype (const pthread_mutexattr_t *attr, int *kind)
{
const struct pthread_mutexattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,8 +21,7 @@
int
-__pthread_mutexattr_init (attr)
- pthread_mutexattr_t *attr;
+__pthread_mutexattr_init (pthread_mutexattr_t *attr)
{
if (sizeof (struct pthread_mutexattr) != sizeof (pthread_mutexattr_t))
memset (attr, '\0', sizeof (*attr));
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setprioceiling.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setprioceiling.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setprioceiling.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-pthread_mutexattr_setprioceiling (attr, prioceiling)
- pthread_mutexattr_t *attr;
- int prioceiling;
+pthread_mutexattr_setprioceiling (pthread_mutexattr_t *attr, int prioceiling)
{
if (__sched_fifo_min_prio == -1)
__init_sched_fifo_prio ();
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setprotocol.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setprotocol.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setprotocol.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-pthread_mutexattr_setprotocol (attr, protocol)
- pthread_mutexattr_t *attr;
- int protocol;
+pthread_mutexattr_setprotocol (pthread_mutexattr_t *attr, int protocol)
{
if (protocol != PTHREAD_PRIO_NONE
&& protocol != PTHREAD_PRIO_INHERIT
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setpshared.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setpshared.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setpshared.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-pthread_mutexattr_setpshared (attr, pshared)
- pthread_mutexattr_t *attr;
- int pshared;
+pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared)
{
struct pthread_mutexattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setrobust.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setrobust.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_setrobust.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-pthread_mutexattr_setrobust (attr, robustness)
- pthread_mutexattr_t *attr;
- int robustness;
+pthread_mutexattr_setrobust (pthread_mutexattr_t *attr, int robustness)
{
if (robustness != PTHREAD_MUTEX_STALLED_NP
&& __builtin_expect (robustness != PTHREAD_MUTEX_ROBUST_NP, 0))
Modified: trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_settype.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_settype.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_mutexattr_settype.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-__pthread_mutexattr_settype (attr, kind)
- pthread_mutexattr_t *attr;
- int kind;
+__pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind)
{
struct pthread_mutexattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlock_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlock_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlock_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,8 +21,7 @@
int
-__pthread_rwlock_destroy (rwlock)
- pthread_rwlock_t *rwlock;
+__pthread_rwlock_destroy (pthread_rwlock_t *rwlock)
{
LIBC_PROBE (rwlock_destroy, 1, rwlock);
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlock_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlock_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlock_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -29,9 +29,8 @@
int
-__pthread_rwlock_init (rwlock, attr)
- pthread_rwlock_t *rwlock;
- const pthread_rwlockattr_t *attr;
+__pthread_rwlock_init (pthread_rwlock_t *rwlock,
+ const pthread_rwlockattr_t *attr)
{
const struct pthread_rwlockattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlock_rdlock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlock_rdlock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlock_rdlock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -26,8 +26,7 @@
/* Acquire read lock for RWLOCK. */
int
-__pthread_rwlock_rdlock (rwlock)
- pthread_rwlock_t *rwlock;
+__pthread_rwlock_rdlock (pthread_rwlock_t *rwlock)
{
int result = 0;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlock_timedrdlock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlock_timedrdlock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlock_timedrdlock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,9 +25,8 @@
/* Try to acquire read lock for RWLOCK or return after specfied time. */
int
-pthread_rwlock_timedrdlock (rwlock, abstime)
- pthread_rwlock_t *rwlock;
- const struct timespec *abstime;
+pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock,
+ const struct timespec *abstime)
{
int result = 0;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlock_timedwrlock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlock_timedwrlock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlock_timedwrlock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -26,9 +26,8 @@
/* Try to acquire write lock for RWLOCK or return after specfied time. */
int
-pthread_rwlock_timedwrlock (rwlock, abstime)
- pthread_rwlock_t *rwlock;
- const struct timespec *abstime;
+pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock,
+ const struct timespec *abstime)
{
int result = 0;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlock_wrlock.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlock_wrlock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlock_wrlock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -26,8 +26,7 @@
/* Acquire write lock for RWLOCK. */
int
-__pthread_rwlock_wrlock (rwlock)
- pthread_rwlock_t *rwlock;
+__pthread_rwlock_wrlock (pthread_rwlock_t *rwlock)
{
int result = 0;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,8 +20,7 @@
int
-pthread_rwlockattr_destroy (attr)
- pthread_rwlockattr_t *attr;
+pthread_rwlockattr_destroy (pthread_rwlockattr_t *attr)
{
/* Nothing to do. For now. */
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_getkind_np.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_getkind_np.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_getkind_np.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,7 @@
int
-pthread_rwlockattr_getkind_np (attr, pref)
- const pthread_rwlockattr_t *attr;
- int *pref;
+pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t *attr, int *pref)
{
*pref = ((const struct pthread_rwlockattr *) attr)->lockkind;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_getpshared.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_getpshared.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_getpshared.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,9 +20,7 @@
int
-pthread_rwlockattr_getpshared (attr, pshared)
- const pthread_rwlockattr_t *attr;
- int *pshared;
+pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *attr, int *pshared)
{
*pshared = ((const struct pthread_rwlockattr *) attr)->pshared;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,8 +20,7 @@
int
-pthread_rwlockattr_init (attr)
- pthread_rwlockattr_t *attr;
+pthread_rwlockattr_init (pthread_rwlockattr_t *attr)
{
struct pthread_rwlockattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_setkind_np.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_setkind_np.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_setkind_np.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-pthread_rwlockattr_setkind_np (attr, pref)
- pthread_rwlockattr_t *attr;
- int pref;
+pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *attr, int pref)
{
struct pthread_rwlockattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_setpshared.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_setpshared.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_rwlockattr_setpshared.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
int
-pthread_rwlockattr_setpshared (attr, pshared)
- pthread_rwlockattr_t *attr;
- int pshared;
+pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr, int pshared)
{
struct pthread_rwlockattr *iattr;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_setcancelstate.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_setcancelstate.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_setcancelstate.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_setcancelstate (state, oldstate)
- int state;
- int *oldstate;
+__pthread_setcancelstate (int state, int *oldstate)
{
volatile struct pthread *self;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_setcanceltype.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_setcanceltype.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_setcanceltype.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_setcanceltype (type, oldtype)
- int type;
- int *oldtype;
+__pthread_setcanceltype (int type, int *oldtype)
{
volatile struct pthread *self;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_setconcurrency.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_setconcurrency.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_setconcurrency.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,8 +25,7 @@
int
-pthread_setconcurrency (level)
- int level;
+pthread_setconcurrency (int level)
{
if (level < 0)
return EINVAL;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_setschedparam.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_setschedparam.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_setschedparam.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,10 +24,8 @@
int
-__pthread_setschedparam (threadid, policy, param)
- pthread_t threadid;
- int policy;
- const struct sched_param *param;
+__pthread_setschedparam (pthread_t threadid, int policy,
+ const struct sched_param *param)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_setschedprio.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_setschedprio.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_setschedprio.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,9 +25,7 @@
int
-pthread_setschedprio (threadid, prio)
- pthread_t threadid;
- int prio;
+pthread_setschedprio (pthread_t threadid, int prio)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_setspecific.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_setspecific.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_setspecific.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__pthread_setspecific (key, value)
- pthread_key_t key;
- const void *value;
+__pthread_setspecific (pthread_key_t key, const void *value)
{
struct pthread *self;
unsigned int idx1st;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_spin_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_spin_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_spin_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -20,8 +20,7 @@
int
-pthread_spin_destroy (lock)
- pthread_spinlock_t *lock;
+pthread_spin_destroy (pthread_spinlock_t *lock)
{
/* Nothing to do. */
return 0;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_timedjoin.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_timedjoin.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_timedjoin.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -30,10 +30,8 @@
int
-pthread_timedjoin_np (threadid, thread_return, abstime)
- pthread_t threadid;
- void **thread_return;
- const struct timespec *abstime;
+pthread_timedjoin_np (pthread_t threadid, void **thread_return,
+ const struct timespec *abstime)
{
struct pthread *self;
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/fbtl/pthread_tryjoin.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/pthread_tryjoin.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/pthread_tryjoin.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,9 +24,7 @@
int
-pthread_tryjoin_np (threadid, thread_return)
- pthread_t threadid;
- void **thread_return;
+pthread_tryjoin_np (pthread_t threadid, void **thread_return)
{
struct pthread *self;
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/fbtl/sem_close.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/sem_close.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/sem_close.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -40,8 +40,7 @@
int
-sem_close (sem)
- sem_t *sem;
+sem_close (sem_t *sem)
{
int result = 0;
Modified: trunk/glibc-ports-2.23/fbtl/sem_destroy.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/sem_destroy.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/sem_destroy.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,8 +22,7 @@
int
-__new_sem_destroy (sem)
- sem_t *sem;
+__new_sem_destroy (sem_t *sem)
{
/* XXX Check for valid parameter. */
Modified: trunk/glibc-ports-2.23/fbtl/sem_getvalue.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/sem_getvalue.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/sem_getvalue.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
int
-__new_sem_getvalue (sem, sval)
- sem_t *sem;
- int *sval;
+__new_sem_getvalue (sem_t *sem, int *sval)
{
struct new_sem *isem = (struct new_sem *) sem;
Modified: trunk/glibc-ports-2.23/fbtl/sem_init.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/sem_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/sem_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,10 +25,7 @@
int
-__new_sem_init (sem, pshared, value)
- sem_t *sem;
- int pshared;
- unsigned int value;
+__new_sem_init (sem_t *sem, int pshared, unsigned int value)
{
/* Parameter sanity check. */
if (__builtin_expect (value > SEM_VALUE_MAX, 0))
@@ -60,10 +57,7 @@
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
int
attribute_compat_text_section
-__old_sem_init (sem, pshared, value)
- sem_t *sem;
- int pshared;
- unsigned int value;
+__old_sem_init (sem_t *sem, int pshared, unsigned int value)
{
/* Parameter sanity check. */
if (__builtin_expect (value > SEM_VALUE_MAX, 0))
Modified: trunk/glibc-ports-2.23/fbtl/sigaction.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl/sigaction.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl/sigaction.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -29,10 +29,7 @@
int
-__sigaction (sig, act, oact)
- int sig;
- const struct sigaction *act;
- struct sigaction *oact;
+__sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{
if (__builtin_expect (sig == SIGCANCEL || sig == SIGSETXID, 0))
{
Modified: trunk/glibc-ports-2.23/fbtl_db/td_ta_clear_event.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl_db/td_ta_clear_event.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl_db/td_ta_clear_event.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
td_err_e
-td_ta_clear_event (ta_arg, event)
- const td_thragent_t *ta_arg;
- td_thr_events_t *event;
+td_ta_clear_event (const td_thragent_t *ta_arg, td_thr_events_t *event)
{
td_thragent_t *const ta = (td_thragent_t *) ta_arg;
td_err_e err;
Modified: trunk/glibc-ports-2.23/fbtl_db/td_ta_set_event.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl_db/td_ta_set_event.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl_db/td_ta_set_event.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,9 +22,7 @@
td_err_e
-td_ta_set_event (ta_arg, event)
- const td_thragent_t *ta_arg;
- td_thr_events_t *event;
+td_ta_set_event (const td_thragent_t *ta_arg, td_thr_events_t *event)
{
td_thragent_t *const ta = (td_thragent_t *) ta_arg;
td_err_e err;
Modified: trunk/glibc-ports-2.23/fbtl_db/td_thr_clear_event.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl_db/td_thr_clear_event.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl_db/td_thr_clear_event.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,9 +24,7 @@
td_err_e
-td_thr_clear_event (th, event)
- const td_thrhandle_t *th;
- td_thr_events_t *event;
+td_thr_clear_event (const td_thrhandle_t *th, td_thr_events_t *event)
{
td_err_e err;
psaddr_t eventmask;
Modified: trunk/glibc-ports-2.23/fbtl_db/td_thr_event_enable.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl_db/td_thr_event_enable.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl_db/td_thr_event_enable.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -21,9 +21,7 @@
td_err_e
-td_thr_event_enable (th, onoff)
- const td_thrhandle_t *th;
- int onoff;
+td_thr_event_enable (const td_thrhandle_t *th, int onoff)
{
LOG ("td_thr_event_enable");
Modified: trunk/glibc-ports-2.23/fbtl_db/td_thr_set_event.c
===================================================================
--- trunk/glibc-ports-2.23/fbtl_db/td_thr_set_event.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/fbtl_db/td_thr_set_event.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,9 +24,7 @@
td_err_e
-td_thr_set_event (th, event)
- const td_thrhandle_t *th;
- td_thr_events_t *event;
+td_thr_set_event (const td_thrhandle_t *th, td_thr_events_t *event)
{
td_err_e err;
psaddr_t eventmask;
Modified: trunk/glibc-ports-2.23/kfreebsd/aio_sigqueue.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/aio_sigqueue.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/aio_sigqueue.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -27,10 +27,8 @@
#include <aio_misc.h>
int
-__aio_sigqueue (sig, val, caller_pid)
- int sig;
- const union sigval val;
- pid_t caller_pid;
+internal_function
+__aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
{
#if !IS_IN (libc)
return sigqueue(caller_pid, sig, val);
Modified: trunk/glibc-ports-2.23/kfreebsd/brk.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/brk.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/brk.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -32,8 +32,7 @@
/* Set the end of the process's data space to ADDR.
Return 0 if successful, -1 if not. */
int
-__brk (addr)
- void *addr;
+__brk (void *addr)
{
if ((char*)addr < _end)
return 0;
Modified: trunk/glibc-ports-2.23/kfreebsd/dl-openat64.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/dl-openat64.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/dl-openat64.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,10 +25,7 @@
libc_hidden_proto (__syscall_openat)
int
-openat64 (dfd, file, oflag)
- int dfd;
- const char *file;
- int oflag;
+openat64 (int dfd, const char *file, int oflag, ...)
{
assert ((oflag & O_CREAT) == 0);
Modified: trunk/glibc-ports-2.23/kfreebsd/faccessat.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/faccessat.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/faccessat.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -42,11 +42,7 @@
*/
int
-faccessat (fd, file, mode, flag)
- int fd;
- const char *file;
- int mode;
- int flag;
+faccessat (int fd, const char *file, int mode, int flag)
{
int result = INLINE_SYSCALL (faccessat, 4, fd, file, mode, flag);
if ((result == 0) && (mode & X_OK))
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/libc_pthread_init.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/libc_pthread_init.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/libc_pthread_init.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -35,10 +35,9 @@
int *
#endif
-__libc_pthread_init (ptr, reclaim, functions)
- unsigned long int *ptr;
- void (*reclaim) (void);
- const struct pthread_functions *functions;
+internal_function
+__libc_pthread_init (unsigned long int *ptr, void (*reclaim) (void),
+ const struct pthread_functions *functions)
{
/* Remember the pointer to the generation counter in libpthread. */
__fork_generation_pointer = ptr;
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pt-raise.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pt-raise.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pt-raise.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,8 +24,7 @@
int
-raise (sig)
- int sig;
+raise (int sig)
{
/* raise is an async-safe function. It could be called while the
fork function temporarily invalidated the PID field. Adjust for
@@ -51,5 +50,5 @@
return INLINE_SYSCALL (tgkill, 3, pid, THREAD_GETMEM (THREAD_SELF, tid),
sig);
-#endif
+#endif
}
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getcpuclockid.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getcpuclockid.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getcpuclockid.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,9 +23,7 @@
#include <tls.h>
int
-pthread_getcpuclockid (threadid, clockid)
- pthread_t threadid;
- clockid_t *clockid;
+pthread_getcpuclockid (pthread_t threadid, clockid_t *clockid)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getname.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getname.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getname.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,10 +25,7 @@
#include <sys/ptrace.h>
int
-pthread_getname_np (th, buf, len)
- pthread_t th;
- char *buf;
- size_t len;
+pthread_getname_np (pthread_t th, char *buf, size_t len)
{
const struct pthread *pd = (const struct pthread *) th;
struct ptrace_lwpinfo ti;
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getschedparam.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getschedparam.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_getschedparam.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,10 +23,8 @@
int
-__pthread_getschedparam (threadid, policy, param)
- pthread_t threadid;
- int *policy;
- struct sched_param *param;
+__pthread_getschedparam (pthread_t threadid, int *policy,
+ struct sched_param *param)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_kill.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_kill.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_kill.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,9 +25,7 @@
int
-__pthread_kill (threadid, signo)
- pthread_t threadid;
- int signo;
+__pthread_kill (pthread_t threadid, int signo)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_mutex_cond_lock.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_mutex_cond_lock.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_mutex_cond_lock.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -7,7 +7,7 @@
#define LLL_ROBUST_MUTEX_LOCK(mutex, id) \
lll_robust_cond_lock ((mutex)->__data.__lock, id, \
PTHREAD_ROBUST_MUTEX_PSHARED (mutex))
-#define __pthread_mutex_lock __pthread_mutex_cond_lock
+#define __pthread_mutex_lock internal_function __pthread_mutex_cond_lock
#define __pthread_mutex_lock_full __pthread_mutex_cond_lock_full
#define NO_INCR
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_once.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_once.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_once.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -57,9 +57,7 @@
again, we can deadlock because we can't distinguish the in-progress and
interrupted cases anymore. */
int
-__pthread_once (once_control, init_routine)
- pthread_once_t *once_control;
- void (*init_routine) (void);
+__pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
{
while (1)
{
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setname.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setname.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setname.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,9 +24,7 @@
#include <unistd.h>
int
-pthread_setname_np (th, name)
- pthread_t th;
- const char *name;
+pthread_setname_np (pthread_t th, const char *name)
{
const struct pthread *pd = (const struct pthread *) th;
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setschedparam.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setschedparam.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setschedparam.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,10 +24,8 @@
int
-__pthread_setschedparam (threadid, policy, param)
- pthread_t threadid;
- int policy;
- const struct sched_param *param;
+__pthread_setschedparam (pthread_t threadid, int policy,
+ const struct sched_param *param)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setschedprio.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setschedprio.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/pthread_setschedprio.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,9 +25,7 @@
int
-pthread_setschedprio (threadid, prio)
- pthread_t threadid;
- int prio;
+pthread_setschedprio (pthread_t threadid, int prio)
{
struct pthread *pd = (struct pthread *) threadid;
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/raise.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/raise.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/raise.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,8 +25,7 @@
int
-raise (sig)
- int sig;
+raise (int sig)
{
#if 1
#warning TODO recheck
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/register-atfork.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/register-atfork.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/register-atfork.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -78,11 +78,8 @@
int
-__register_atfork (prepare, parent, child, dso_handle)
- void (*prepare) (void);
- void (*parent) (void);
- void (*child) (void);
- void *dso_handle;
+__register_atfork (void (*prepare) (void), void (*parent) (void),
+ void (*child) (void), void *dso_handle)
{
/* Get the lock to not conflict with other allocations. */
lll_lock (__fork_lock, LLL_PRIVATE);
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/sigprocmask.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/sigprocmask.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/sigprocmask.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -29,13 +29,10 @@
/* Get and/or change the set of blocked signals. */
int
#ifdef BUILD_AS_pthread_sigmask
-pthread_sigmask(how, set, oset)
+pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
#else
-__sigprocmask (how, set, oset)
+__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
#endif
- int how;
- const sigset_t *set;
- sigset_t *oset;
{
sigset_t local_newmask;
int rv;
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/sigtimedwait.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/sigtimedwait.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/sigtimedwait.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -52,10 +52,8 @@
/* Return any pending signal or wait for one for the given time. */
int
-__sigtimedwait (set, info, timeout)
- const sigset_t *set;
- siginfo_t *info;
- const struct timespec *timeout;
+__sigtimedwait (const sigset_t *set, siginfo_t *info,
+ const struct timespec *timeout)
{
if (SINGLE_THREAD_P)
return do_sigtimedwait (set, info, timeout);
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/sigwait.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/sigwait.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/sigwait.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -58,9 +58,7 @@
}
int
-__sigwait (set, sig)
- const sigset_t *set;
- int *sig;
+__sigwait (const sigset_t *set, int *sig)
{
if (SINGLE_THREAD_P)
return do_sigwait (set, sig);
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/sigwaitinfo.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/sigwaitinfo.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/sigwaitinfo.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -54,9 +54,7 @@
/* Return any pending signal or wait for one for the given time. */
int
-__sigwaitinfo (set, info)
- const sigset_t *set;
- siginfo_t *info;
+__sigwaitinfo (const sigset_t *set, siginfo_t *info)
{
if (SINGLE_THREAD_P)
return do_sigwaitinfo (set, info);
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_create.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_create.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_create.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -32,10 +32,7 @@
int
-timer_create (clock_id, evp, timerid)
- clockid_t clock_id;
- struct sigevent *evp;
- timer_t *timerid;
+timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid)
{
{
/* If the user wants notification via a thread we need to handle
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_delete.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_delete.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_delete.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -26,8 +26,7 @@
int
-timer_delete (timerid)
- timer_t timerid;
+timer_delete (timer_t timerid)
{
struct timer *kt = __kfreebsd_timer_id2ptr (timerid);
if (! kt)
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_getoverr.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_getoverr.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_getoverr.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,8 +25,7 @@
int
-timer_getoverrun (timerid)
- timer_t timerid;
+timer_getoverrun (timer_t timerid)
{
struct timer *kt = __kfreebsd_timer_id2ptr (timerid);
if (! kt)
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_gettime.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_gettime.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_gettime.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -26,9 +26,7 @@
int
-timer_gettime (timerid, value)
- timer_t timerid;
- struct itimerspec *value;
+timer_gettime (timer_t timerid, struct itimerspec *value)
{
struct timer *kt = __kfreebsd_timer_id2ptr (timerid);
if (! kt)
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_settime.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_settime.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/timer_settime.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,11 +25,8 @@
#include "kernel-posix-timers.h"
int
-timer_settime (timerid, flags, value, ovalue)
- timer_t timerid;
- int flags;
- const struct itimerspec *value;
- struct itimerspec *ovalue;
+timer_settime (timer_t timerid, int flags, const struct itimerspec *value,
+ struct itimerspec *ovalue)
{
struct timer *kt = __kfreebsd_timer_id2ptr (timerid);
if (! kt)
Modified: trunk/glibc-ports-2.23/kfreebsd/fbtl/unregister-atfork.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/fbtl/unregister-atfork.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/fbtl/unregister-atfork.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -23,8 +23,7 @@
void
-__unregister_atfork (dso_handle)
- void *dso_handle;
+__unregister_atfork (void *dso_handle)
{
/* Check whether there is any entry in the list which we have to
remove. It is likely that this is not the case so don't bother
Modified: trunk/glibc-ports-2.23/kfreebsd/futimesat.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/futimesat.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/futimesat.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -35,10 +35,7 @@
/* Change the access time of FILE relative to FD to TVP[0] and
the modification time of FILE to TVP[1]. */
int
-futimesat (fd, file, tvp)
- int fd;
- const char *file;
- const struct timeval tvp[2];
+futimesat (int fd, const char *file, const struct timeval tvp[2])
{
if (file == NULL)
return __futimes (fd, tvp);
Modified: trunk/glibc-ports-2.23/kfreebsd/gai_sigqueue.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/gai_sigqueue.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/gai_sigqueue.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -27,10 +27,8 @@
#include <gai_misc.h>
int
-__gai_sigqueue (sig, val, caller_pid)
- int sig;
- const union sigval val;
- pid_t caller_pid;
+internal_function
+__gai_sigqueue (int sig, const union sigval val, pid_t caller_pid)
{
#if !IS_IN(libc)
return sigqueue(caller_pid, sig, val);
Modified: trunk/glibc-ports-2.23/kfreebsd/getvfsbyname.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/getvfsbyname.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/getvfsbyname.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -39,9 +39,7 @@
* and if it is resident, return its xvfsconf structure.
*/
int
-__getvfsbyname(fsname, vfcp)
- const char *fsname;
- struct xvfsconf *vfcp;
+__getvfsbyname(const char *fsnamen, struct xvfsconf *vfcp)
{
struct xvfsconf *xvfsp;
size_t buflen;
Modified: trunk/glibc-ports-2.23/kfreebsd/openat.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/openat.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/openat.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -37,10 +37,7 @@
the directory associated with FD. If OFLAG includes O_CREAT, a
third argument is the file protection. */
int
-__openat (fd, file, oflag)
- int fd;
- const char *file;
- int oflag;
+__openat (int fd, const char *file, int oflag, ...)
{
int mode = 0;
int result;
Modified: trunk/glibc-ports-2.23/kfreebsd/remove.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/remove.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/remove.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -22,8 +22,7 @@
#include <unistd.h>
int
-remove (file)
- const char *file;
+remove (const char *file)
{
/* First try to unlink since this is more frequently the necessary action. */
if (__unlink (file) != 0
Modified: trunk/glibc-ports-2.23/kfreebsd/shm_open.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/shm_open.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/shm_open.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -24,10 +24,7 @@
libc_hidden_proto (__syscall_shm_open)
int
-shm_open (name, flag, mode)
- const char *name;
- int flag;
- mode_t mode;
+shm_open (const char *name, int flag, mode_t mode)
{
/*
* O_CLOEXEC never has any effect on shm_open(). However, old kernel
Modified: trunk/glibc-ports-2.23/kfreebsd/sigaction.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/sigaction.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/sigaction.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -25,10 +25,7 @@
libc_hidden_proto (__syscall_sigaction)
int
-__libc_sigaction (sig, act, oact)
- int sig;
- const struct sigaction *act;
- struct sigaction *oact;
+__libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{
if (sig <= 0 || sig >= NSIG)
{
Modified: trunk/glibc-ports-2.23/kfreebsd/times.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/times.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/times.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -42,8 +42,7 @@
Return the elapsed real time, or (clock_t) -1 for errors.
All times are in CLK_TCKths of a second. */
clock_t
-__times (buffer)
- struct tms *buffer;
+__times (struct tms *buffer)
{
struct rusage usage;
clock_t clk_tck;
Modified: trunk/glibc-ports-2.23/kfreebsd/timespec_get.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/timespec_get.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/timespec_get.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -30,9 +30,7 @@
libc_hidden_proto (__syscall_clock_gettime)
int
-timespec_get (ts, base)
- struct timespec *ts;
- int base;
+timespec_get (struct timespec *ts, int base)
{
switch (base)
{
Modified: trunk/glibc-ports-2.23/kfreebsd/ttyname.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/ttyname.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/ttyname.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -32,8 +32,7 @@
/* Return the pathname of the terminal FD is open on, or NULL on errors.
The returned storage is good only until the next call to this function. */
char *
-ttyname (fd)
- int fd;
+ttyname (int fd)
{
static size_t buflen;
struct fiodgname_arg fgn;
Modified: trunk/glibc-ports-2.23/kfreebsd/ttyname_r.c
===================================================================
--- trunk/glibc-ports-2.23/kfreebsd/ttyname_r.c 2016-03-22 12:20:21 UTC (rev 5967)
+++ trunk/glibc-ports-2.23/kfreebsd/ttyname_r.c 2016-03-22 20:25:47 UTC (rev 5968)
@@ -30,10 +30,7 @@
/* Store at most BUFLEN character of the pathname of the terminal FD is
open on in BUF. Return 0 on success, otherwise an error number. */
int
-__ttyname_r (fd, buf, buflen)
- int fd;
- char *buf;
- size_t buflen;
+__ttyname_r (int fd, char *buf, size_t buflen)
{
int ret;
struct fiodgname_arg fgn;
More information about the Glibc-bsd-commits
mailing list