]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Convert 231 sysdeps function definitions to prototype style.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 19 Oct 2015 12:04:33 +0000 (12:04 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 19 Oct 2015 12:04:33 +0000 (12:04 +0000)
This mostly automatically-generated patch converts 231 sysdeps
function definitions in glibc from old-style K&R to prototype-style.

For __aio_sigqueue and __gai_sigqueue I had to add internal_function
to the definitions as noted by Florian in
<https://sourceware.org/ml/libc-alpha/2015-10/msg00595.html> to keep
the functions compiling on x86 after conversion to prototype
definitions.  Otherwise, the patch is automatically generated with all
the same exclusions and caveats as in
<https://sourceware.org/ml/libc-alpha/2015-10/msg00594.html> except
that it's a patch for sysdeps files.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).  Also tested for arm,
mips64 and powerpc32 that installed stripped shared libraries are
unchanged by the patch.

* sysdeps/arm/backtrace.c (__backtrace): Convert to
prototype-style function definition.
* sysdeps/i386/backtrace.c (__backtrace): Likewise.
* sysdeps/i386/ffs.c (__ffs): Likewise.
* sysdeps/i386/i686/ffs.c (__ffs): Likewise.
* sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
Likewise.
* sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
Likewise.
* sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
Likewise.
* sysdeps/m68k/ffs.c (__ffs): Likewise.
* sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
* sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
* sysdeps/mach/adjtime.c (__adjtime): Likewise.
* sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
* sysdeps/mach/hurd/_exit.c (_exit): Likewise.
* sysdeps/mach/hurd/access.c (__access): Likewise.
* sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
* sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
* sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
* sysdeps/mach/hurd/chown.c (__chown): Likewise.
* sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
(cthread_getspecific): Likewise.
(cthread_setspecific): Likewise.
(__libc_getspecific): Likewise.
* sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
* sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
* sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
* sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
* sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
* sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
* sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
* sysdeps/mach/hurd/flock.c (__flock): Likewise.
* sysdeps/mach/hurd/fsync.c (fsync): Likewise.
* sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
* sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
* sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
* sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
* sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
* sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
* sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
* sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
* sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
* sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
* sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
* sysdeps/mach/hurd/link.c (__link): Likewise.
* sysdeps/mach/hurd/linkat.c (linkat): Likewise.
* sysdeps/mach/hurd/listen.c (__listen): Likewise.
* sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
* sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
* sysdeps/mach/hurd/openat.c (__openat): Likewise.
* sysdeps/mach/hurd/poll.c (__poll): Likewise.
* sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
* sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
* sysdeps/mach/hurd/recv.c (__recv): Likewise.
* sysdeps/mach/hurd/rename.c (rename): Likewise.
* sysdeps/mach/hurd/renameat.c (renameat): Likewise.
* sysdeps/mach/hurd/revoke.c (revoke): Likewise.
* sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
* sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
* sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
* sysdeps/mach/hurd/send.c (__send): Likewise.
* sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
* sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
* sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
* sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
* sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
* sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
* sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
* sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
* sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
* sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
* sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
* sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
* sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
* sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
* sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
* sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
* sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
* sysdeps/mach/hurd/socket.c (__socket): Likewise.
* sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
* sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
* sysdeps/mach/hurd/telldir.c (telldir): Likewise.
* sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
* sysdeps/mach/hurd/umask.c (__umask): Likewise.
* sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
* sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
* sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
* sysdeps/posix/alarm.c (alarm): Likewise.
* sysdeps/posix/cuserid.c (cuserid): Likewise.
* sysdeps/posix/dirfd.c (dirfd): Likewise.
* sysdeps/posix/dup.c (__dup): Likewise.
* sysdeps/posix/dup2.c (__dup2): Likewise.
* sysdeps/posix/euidaccess.c (euidaccess): Likewise.
(main): Likewise.
* sysdeps/posix/flock.c (__flock): Likewise.
* sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
* sysdeps/posix/getcwd.c (__getcwd): Likewise.
* sysdeps/posix/gethostname.c (__gethostname): Likewise.
* sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
* sysdeps/posix/isatty.c (__isatty): Likewise.
* sysdeps/posix/killpg.c (killpg): Likewise.
* sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
* sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
* sysdeps/posix/raise.c (raise): Likewise.
* sysdeps/posix/remove.c (remove): Likewise.
* sysdeps/posix/rename.c (rename): Likewise.
* sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
* sysdeps/posix/seekdir.c (seekdir): Likewise.
* sysdeps/posix/sigblock.c (__sigblock): Likewise.
* sysdeps/posix/sigignore.c (sigignore): Likewise.
* sysdeps/posix/sigintr.c (siginterrupt): Likewise.
* sysdeps/posix/signal.c (__bsd_signal): Likewise.
* sysdeps/posix/sigset.c (sigset): Likewise.
* sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
* sysdeps/posix/sysconf.c (__sysconf): Likewise.
* sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
* sysdeps/posix/time.c (time): Likewise.
* sysdeps/posix/ttyname.c (getttyname): Likewise.
(ttyname): Likewise.
* sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
* sysdeps/posix/utime.c (utime): Likewise.
* sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
* sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
Likewise.
* sysdeps/powerpc/nptl/pthread_spin_trylock.c
(pthread_spin_trylock): Likewise.
* sysdeps/pthread/aio_error.c (aio_error): Likewise.
* sysdeps/pthread/aio_read.c (aio_read): Likewise.
* sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
* sysdeps/pthread/aio_write.c (aio_write): Likewise.
* sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
* sysdeps/pthread/flockfile.c (__flockfile): Likewise.
* sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
* sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
* sysdeps/pthread/timer_create.c (timer_create): Likewise.
* sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
* sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
* sysdeps/s390/ffs.c (__ffs): Likewise.
* sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
Likewise.
* sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
Likewise.
* sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
Likewise.
* sysdeps/sparc/nptl/pthread_barrier_destroy.c
(pthread_barrier_destroy): Likewise.
* sysdeps/sparc/nptl/pthread_barrier_wait.c
(__pthread_barrier_wait): Likewise.
* sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
* sysdeps/sparc/sparc32/pthread_barrier_wait.c
(__pthread_barrier_wait): Likewise.
* sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
* sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
(memcmp_not_common_alignment): Likewise.
(MEMCMP): Likewise.
* sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
(_wordcopy_fwd_dest_aligned): Likewise.
(_wordcopy_bwd_aligned): Likewise.
(_wordcopy_bwd_dest_aligned): Likewise.
* sysdeps/unix/bsd/ftime.c (ftime): Likewise.
* sysdeps/unix/bsd/gtty.c (gtty): Likewise.
* sysdeps/unix/bsd/stty.c (stty): Likewise.
* sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
* sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
* sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
* sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
* sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
* sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
* sysdeps/unix/sockatmark.c (sockatmark): Likewise.
* sysdeps/unix/stime.c (stime): Likewise.
* sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
Likewise.  Use internal_function.
* sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
Convert to prototype-style function definition.
* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
* sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
* sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
Likewise.  Use internal_function.
* sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
prototype-style function definition
* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
Likewise.
(__getlogin_r): Likewise.
* sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
* sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
(__pthread_cond_broadcast): Likewise.
* sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
(__pthread_cond_destroy): Likewise.
* sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
(__pthread_cond_init): Likewise.
* sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
(__pthread_cond_signal): Likewise.
* sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
(__pthread_cond_wait): Likewise.
* sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
Likewise.
* sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
Likewise.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
Likewise.
* sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
(__ftruncate64): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
(truncate64): Likewise.
* sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
* sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
(pthread_getcpuclockid): Likewise.
* sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
Likewise.
* sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
Likewise.
* sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
Likewise.
* sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
Likewise.
* sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
(__libc_sigaction): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
(__sigprocmask): Likewise.
* sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
* sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
* sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
* sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
* sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
* sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
Likewise.
* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
* sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
(__sigprocmask): Likewise.
* sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
(cfgetispeed): Likewise.
(cfsetospeed): Likewise.
(cfsetispeed): Likewise.
* sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
* sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/linux/time.c (time): Likewise.
* sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
* sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
* sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
Likewise.
* sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
Likewise.
* sysdeps/x86_64/backtrace.c (__backtrace): Likewise.

218 files changed:
ChangeLog
sysdeps/arm/backtrace.c
sysdeps/i386/backtrace.c
sysdeps/i386/ffs.c
sysdeps/i386/i686/ffs.c
sysdeps/ia64/nptl/pthread_spin_lock.c
sysdeps/ia64/nptl/pthread_spin_trylock.c
sysdeps/ieee754/ldbl-128/e_log2l.c
sysdeps/ieee754/ldbl-128ibm/e_log2l.c
sysdeps/m68k/ffs.c
sysdeps/m68k/m680x0/fpu/e_acos.c
sysdeps/m68k/m680x0/fpu/e_fmod.c
sysdeps/mach/adjtime.c
sysdeps/mach/gettimeofday.c
sysdeps/mach/hurd/_exit.c
sysdeps/mach/hurd/access.c
sysdeps/mach/hurd/adjtime.c
sysdeps/mach/hurd/chdir.c
sysdeps/mach/hurd/chmod.c
sysdeps/mach/hurd/chown.c
sysdeps/mach/hurd/cthreads.c
sysdeps/mach/hurd/euidaccess.c
sysdeps/mach/hurd/faccessat.c
sysdeps/mach/hurd/fchdir.c
sysdeps/mach/hurd/fchmod.c
sysdeps/mach/hurd/fchmodat.c
sysdeps/mach/hurd/fchown.c
sysdeps/mach/hurd/fchownat.c
sysdeps/mach/hurd/flock.c
sysdeps/mach/hurd/fsync.c
sysdeps/mach/hurd/ftruncate.c
sysdeps/mach/hurd/getgroups.c
sysdeps/mach/hurd/gethostname.c
sysdeps/mach/hurd/getitimer.c
sysdeps/mach/hurd/getlogin_r.c
sysdeps/mach/hurd/getpgid.c
sysdeps/mach/hurd/getrusage.c
sysdeps/mach/hurd/getsockname.c
sysdeps/mach/hurd/group_member.c
sysdeps/mach/hurd/isatty.c
sysdeps/mach/hurd/lchown.c
sysdeps/mach/hurd/link.c
sysdeps/mach/hurd/linkat.c
sysdeps/mach/hurd/listen.c
sysdeps/mach/hurd/mkdir.c
sysdeps/mach/hurd/mkdirat.c
sysdeps/mach/hurd/openat.c
sysdeps/mach/hurd/poll.c
sysdeps/mach/hurd/readlink.c
sysdeps/mach/hurd/readlinkat.c
sysdeps/mach/hurd/recv.c
sysdeps/mach/hurd/rename.c
sysdeps/mach/hurd/renameat.c
sysdeps/mach/hurd/revoke.c
sysdeps/mach/hurd/rewinddir.c
sysdeps/mach/hurd/rmdir.c
sysdeps/mach/hurd/seekdir.c
sysdeps/mach/hurd/send.c
sysdeps/mach/hurd/setdomain.c
sysdeps/mach/hurd/setegid.c
sysdeps/mach/hurd/seteuid.c
sysdeps/mach/hurd/setgid.c
sysdeps/mach/hurd/setgroups.c
sysdeps/mach/hurd/sethostid.c
sysdeps/mach/hurd/sethostname.c
sysdeps/mach/hurd/setlogin.c
sysdeps/mach/hurd/setpgid.c
sysdeps/mach/hurd/setregid.c
sysdeps/mach/hurd/setreuid.c
sysdeps/mach/hurd/settimeofday.c
sysdeps/mach/hurd/setuid.c
sysdeps/mach/hurd/shutdown.c
sysdeps/mach/hurd/sigaction.c
sysdeps/mach/hurd/sigaltstack.c
sysdeps/mach/hurd/sigpending.c
sysdeps/mach/hurd/sigprocmask.c
sysdeps/mach/hurd/sigsuspend.c
sysdeps/mach/hurd/socket.c
sysdeps/mach/hurd/symlink.c
sysdeps/mach/hurd/symlinkat.c
sysdeps/mach/hurd/telldir.c
sysdeps/mach/hurd/truncate.c
sysdeps/mach/hurd/umask.c
sysdeps/mach/hurd/unlink.c
sysdeps/mach/hurd/unlinkat.c
sysdeps/mips/mips64/__longjmp.c
sysdeps/posix/alarm.c
sysdeps/posix/cuserid.c
sysdeps/posix/dirfd.c
sysdeps/posix/dup.c
sysdeps/posix/dup2.c
sysdeps/posix/euidaccess.c
sysdeps/posix/flock.c
sysdeps/posix/fpathconf.c
sysdeps/posix/getcwd.c
sysdeps/posix/gethostname.c
sysdeps/posix/gettimeofday.c
sysdeps/posix/isatty.c
sysdeps/posix/killpg.c
sysdeps/posix/libc_fatal.c
sysdeps/posix/mkfifoat.c
sysdeps/posix/raise.c
sysdeps/posix/remove.c
sysdeps/posix/rename.c
sysdeps/posix/rewinddir.c
sysdeps/posix/seekdir.c
sysdeps/posix/sigblock.c
sysdeps/posix/sigignore.c
sysdeps/posix/sigintr.c
sysdeps/posix/signal.c
sysdeps/posix/sigset.c
sysdeps/posix/sigsuspend.c
sysdeps/posix/sysconf.c
sysdeps/posix/sysv_signal.c
sysdeps/posix/time.c
sysdeps/posix/ttyname.c
sysdeps/posix/ttyname_r.c
sysdeps/posix/utime.c
sysdeps/powerpc/fpu/s_isnan.c
sysdeps/powerpc/nptl/pthread_spin_lock.c
sysdeps/powerpc/nptl/pthread_spin_trylock.c
sysdeps/pthread/aio_error.c
sysdeps/pthread/aio_read.c
sysdeps/pthread/aio_read64.c
sysdeps/pthread/aio_write.c
sysdeps/pthread/aio_write64.c
sysdeps/pthread/flockfile.c
sysdeps/pthread/ftrylockfile.c
sysdeps/pthread/funlockfile.c
sysdeps/pthread/timer_create.c
sysdeps/pthread/timer_getoverr.c
sysdeps/pthread/timer_gettime.c
sysdeps/s390/ffs.c
sysdeps/s390/nptl/pthread_spin_lock.c
sysdeps/s390/nptl/pthread_spin_trylock.c
sysdeps/sh/nptl/pthread_spin_lock.c
sysdeps/sparc/nptl/pthread_barrier_destroy.c
sysdeps/sparc/nptl/pthread_barrier_wait.c
sysdeps/sparc/sparc32/e_sqrt.c
sysdeps/sparc/sparc32/pthread_barrier_wait.c
sysdeps/sparc/sparc32/sem_init.c
sysdeps/tile/memcmp.c
sysdeps/tile/wordcopy.c
sysdeps/unix/bsd/ftime.c
sysdeps/unix/bsd/gtty.c
sysdeps/unix/bsd/stty.c
sysdeps/unix/bsd/tcflow.c
sysdeps/unix/bsd/tcflush.c
sysdeps/unix/bsd/tcgetattr.c
sysdeps/unix/bsd/tcgetpgrp.c
sysdeps/unix/bsd/tcsendbrk.c
sysdeps/unix/bsd/tcsetattr.c
sysdeps/unix/bsd/tcsetpgrp.c
sysdeps/unix/bsd/ualarm.c
sysdeps/unix/bsd/wait3.c
sysdeps/unix/getlogin_r.c
sysdeps/unix/sockatmark.c
sysdeps/unix/stime.c
sysdeps/unix/sysv/linux/_exit.c
sysdeps/unix/sysv/linux/aio_sigqueue.c
sysdeps/unix/sysv/linux/arm/sigaction.c
sysdeps/unix/sysv/linux/faccessat.c
sysdeps/unix/sysv/linux/fchmodat.c
sysdeps/unix/sysv/linux/fpathconf.c
sysdeps/unix/sysv/linux/gai_sigqueue.c
sysdeps/unix/sysv/linux/gethostid.c
sysdeps/unix/sysv/linux/getlogin_r.c
sysdeps/unix/sysv/linux/getpt.c
sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
sysdeps/unix/sysv/linux/i386/getmsg.c
sysdeps/unix/sysv/linux/i386/setegid.c
sysdeps/unix/sysv/linux/ia64/sigaction.c
sysdeps/unix/sysv/linux/ia64/sigpending.c
sysdeps/unix/sysv/linux/ia64/sigprocmask.c
sysdeps/unix/sysv/linux/mips/sigaction.c
sysdeps/unix/sysv/linux/msgget.c
sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
sysdeps/unix/sysv/linux/pt-raise.c
sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
sysdeps/unix/sysv/linux/pthread_getname.c
sysdeps/unix/sysv/linux/pthread_setname.c
sysdeps/unix/sysv/linux/pthread_sigmask.c
sysdeps/unix/sysv/linux/pthread_sigqueue.c
sysdeps/unix/sysv/linux/raise.c
sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c
sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
sysdeps/unix/sysv/linux/semget.c
sysdeps/unix/sysv/linux/semop.c
sysdeps/unix/sysv/linux/setrlimit64.c
sysdeps/unix/sysv/linux/shmat.c
sysdeps/unix/sysv/linux/shmdt.c
sysdeps/unix/sysv/linux/shmget.c
sysdeps/unix/sysv/linux/sigaction.c
sysdeps/unix/sysv/linux/sigpending.c
sysdeps/unix/sysv/linux/sigprocmask.c
sysdeps/unix/sysv/linux/sigqueue.c
sysdeps/unix/sysv/linux/sigstack.c
sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c
sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
sysdeps/unix/sysv/linux/speed.c
sysdeps/unix/sysv/linux/tcflow.c
sysdeps/unix/sysv/linux/tcflush.c
sysdeps/unix/sysv/linux/tcgetattr.c
sysdeps/unix/sysv/linux/tcsetattr.c
sysdeps/unix/sysv/linux/time.c
sysdeps/unix/sysv/linux/timer_create.c
sysdeps/unix/sysv/linux/timer_delete.c
sysdeps/unix/sysv/linux/timer_getoverr.c
sysdeps/unix/sysv/linux/timer_gettime.c
sysdeps/unix/sysv/linux/x86_64/sigpending.c
sysdeps/unix/sysv/linux/x86_64/sigprocmask.c
sysdeps/x86_64/backtrace.c

index 222ae427657a5ebfbca7872855c89b5d80209c57..961041189b6d866793690afa0db6b32c57ed4710 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,280 @@
+2015-10-19  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/arm/backtrace.c (__backtrace): Convert to
+       prototype-style function definition.
+       * sysdeps/i386/backtrace.c (__backtrace): Likewise.
+       * sysdeps/i386/ffs.c (__ffs): Likewise.
+       * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
+       * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
+       Likewise.
+       * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
+       Likewise.
+       * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
+       Likewise.
+       * sysdeps/m68k/ffs.c (__ffs): Likewise.
+       * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
+       * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
+       * sysdeps/mach/adjtime.c (__adjtime): Likewise.
+       * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
+       * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
+       * sysdeps/mach/hurd/access.c (__access): Likewise.
+       * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
+       * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
+       * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
+       * sysdeps/mach/hurd/chown.c (__chown): Likewise.
+       * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
+       (cthread_getspecific): Likewise.
+       (cthread_setspecific): Likewise.
+       (__libc_getspecific): Likewise.
+       * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
+       * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
+       * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
+       * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
+       * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
+       * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
+       * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
+       * sysdeps/mach/hurd/flock.c (__flock): Likewise.
+       * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
+       * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
+       * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
+       * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
+       * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
+       * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
+       * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
+       * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
+       * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
+       * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
+       * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
+       * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
+       * sysdeps/mach/hurd/link.c (__link): Likewise.
+       * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
+       * sysdeps/mach/hurd/listen.c (__listen): Likewise.
+       * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
+       * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
+       * sysdeps/mach/hurd/openat.c (__openat): Likewise.
+       * sysdeps/mach/hurd/poll.c (__poll): Likewise.
+       * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
+       * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
+       * sysdeps/mach/hurd/recv.c (__recv): Likewise.
+       * sysdeps/mach/hurd/rename.c (rename): Likewise.
+       * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
+       * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
+       * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
+       * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
+       * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
+       * sysdeps/mach/hurd/send.c (__send): Likewise.
+       * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
+       * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
+       * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
+       * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
+       * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
+       * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
+       * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
+       * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
+       * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
+       * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
+       * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
+       * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
+       * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
+       * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
+       * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
+       * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
+       * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
+       * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
+       * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
+       * sysdeps/mach/hurd/socket.c (__socket): Likewise.
+       * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
+       * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
+       * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
+       * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
+       * sysdeps/mach/hurd/umask.c (__umask): Likewise.
+       * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
+       * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
+       * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
+       * sysdeps/posix/alarm.c (alarm): Likewise.
+       * sysdeps/posix/cuserid.c (cuserid): Likewise.
+       * sysdeps/posix/dirfd.c (dirfd): Likewise.
+       * sysdeps/posix/dup.c (__dup): Likewise.
+       * sysdeps/posix/dup2.c (__dup2): Likewise.
+       * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
+       (main): Likewise.
+       * sysdeps/posix/flock.c (__flock): Likewise.
+       * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
+       * sysdeps/posix/getcwd.c (__getcwd): Likewise.
+       * sysdeps/posix/gethostname.c (__gethostname): Likewise.
+       * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
+       * sysdeps/posix/isatty.c (__isatty): Likewise.
+       * sysdeps/posix/killpg.c (killpg): Likewise.
+       * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
+       * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
+       * sysdeps/posix/raise.c (raise): Likewise.
+       * sysdeps/posix/remove.c (remove): Likewise.
+       * sysdeps/posix/rename.c (rename): Likewise.
+       * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
+       * sysdeps/posix/seekdir.c (seekdir): Likewise.
+       * sysdeps/posix/sigblock.c (__sigblock): Likewise.
+       * sysdeps/posix/sigignore.c (sigignore): Likewise.
+       * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
+       * sysdeps/posix/signal.c (__bsd_signal): Likewise.
+       * sysdeps/posix/sigset.c (sigset): Likewise.
+       * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
+       * sysdeps/posix/sysconf.c (__sysconf): Likewise.
+       * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
+       * sysdeps/posix/time.c (time): Likewise.
+       * sysdeps/posix/ttyname.c (getttyname): Likewise.
+       (ttyname): Likewise.
+       * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
+       * sysdeps/posix/utime.c (utime): Likewise.
+       * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
+       * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
+       Likewise.
+       * sysdeps/powerpc/nptl/pthread_spin_trylock.c
+       (pthread_spin_trylock): Likewise.
+       * sysdeps/pthread/aio_error.c (aio_error): Likewise.
+       * sysdeps/pthread/aio_read.c (aio_read): Likewise.
+       * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
+       * sysdeps/pthread/aio_write.c (aio_write): Likewise.
+       * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
+       * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
+       * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
+       * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
+       * sysdeps/pthread/timer_create.c (timer_create): Likewise.
+       * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
+       * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
+       * sysdeps/s390/ffs.c (__ffs): Likewise.
+       * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
+       Likewise.
+       * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
+       Likewise.
+       * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
+       Likewise.
+       * sysdeps/sparc/nptl/pthread_barrier_destroy.c
+       (pthread_barrier_destroy): Likewise.
+       * sysdeps/sparc/nptl/pthread_barrier_wait.c
+       (__pthread_barrier_wait): Likewise.
+       * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
+       * sysdeps/sparc/sparc32/pthread_barrier_wait.c
+       (__pthread_barrier_wait): Likewise.
+       * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
+       * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
+       (memcmp_not_common_alignment): Likewise.
+       (MEMCMP): Likewise.
+       * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
+       (_wordcopy_fwd_dest_aligned): Likewise.
+       (_wordcopy_bwd_aligned): Likewise.
+       (_wordcopy_bwd_dest_aligned): Likewise.
+       * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
+       * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
+       * sysdeps/unix/bsd/stty.c (stty): Likewise.
+       * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
+       * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
+       * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
+       * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
+       * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
+       * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
+       * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
+       * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
+       * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
+       * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
+       * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
+       * sysdeps/unix/stime.c (stime): Likewise.
+       * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
+       * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
+       Likewise.  Use internal_function.
+       * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
+       Convert to prototype-style function definition.
+       * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
+       * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
+       * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
+       * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
+       Likewise.  Use internal_function.
+       * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
+       prototype-style function definition
+       * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
+       Likewise.
+       (__getlogin_r): Likewise.
+       * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
+       (__pthread_cond_broadcast): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
+       (__pthread_cond_destroy): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
+       (__pthread_cond_init): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
+       (__pthread_cond_signal): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
+       (__pthread_cond_wait): Likewise.
+       * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
+       * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
+       * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
+       Likewise.
+       * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
+       Likewise.
+       * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
+       Likewise.
+       * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
+       Likewise.
+       * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
+       (__ftruncate64): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
+       (truncate64): Likewise.
+       * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
+       * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
+       (pthread_getcpuclockid): Likewise.
+       * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
+       Likewise.
+       * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
+       Likewise.
+       * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
+       Likewise.
+       * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
+       Likewise.
+       * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
+       (__libc_sigaction): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
+       Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
+       (__sigprocmask): Likewise.
+       * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
+       * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
+       * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
+       * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
+       * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
+       * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
+       * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
+       Likewise.
+       * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
+       * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
+       * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
+       * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
+       Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
+       (__sigprocmask): Likewise.
+       * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
+       (cfgetispeed): Likewise.
+       (cfsetospeed): Likewise.
+       (cfsetispeed): Likewise.
+       * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
+       * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
+       * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
+       * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
+       * sysdeps/unix/sysv/linux/time.c (time): Likewise.
+       * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
+       * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
+       * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
+       Likewise.
+       * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
+       Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
+       Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
+       Likewise.
+       * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
+
 2015-10-17  Florian Weimer  <fweimer@redhat.com>
 
        sunrpc: Rewrite with explicit TLS access using __thread.
index b19def6e0b6d0e80af9892b52b6dcc8902bab4fa..072d034728fe8c01ed959f1437d9f01740309ca5 100644 (file)
@@ -87,9 +87,7 @@ backtrace_helper (struct _Unwind_Context *ctx, void *a)
 }
 
 int
-__backtrace (array, size)
-     void **array;
-     int size;
+__backtrace (void **array, int size)
 {
   struct trace_arg arg = { .array = array, .size = size, .cnt = -1 };
 
index a1b4d333220d4e589a5a92ee247593c733b9e1cb..9f8b4e008479fa78a3a71d36af029dcedeeaf037 100644 (file)
@@ -109,9 +109,7 @@ struct layout
 
 
 int
-__backtrace (array, size)
-     void **array;
-     int size;
+__backtrace (void **array, int size)
 {
   struct trace_arg arg = { .array = array, .size = size, .cnt = -1 };
 
index db08e4ee77e17505e46124e17f01cfda05b83763..08ec16a6383bff0f969708993b4002fa605039bd 100644 (file)
@@ -26,8 +26,7 @@
 #ifdef __GNUC__
 
 int
-__ffs (x)
-     int x;
+__ffs (int x)
 {
   int cnt;
   int tmp;
index 70f7de7887590ce817c7679b21454ea3033785be..65869698c7d0774a2b508d56082fd5860dc975c5 100644 (file)
@@ -26,8 +26,7 @@
 #ifdef __GNUC__
 
 int
-__ffs (x)
-     int x;
+__ffs (int x)
 {
   int cnt;
   int tmp;
index 00d00a1505a8efeaa0b6ed4fab19853af71fe620..32816b5256b34f6befb753f43dba3dfacd98a164 100644 (file)
@@ -19,8 +19,7 @@
 #include "pthreadP.h"
 
 int
-pthread_spin_lock (lock)
-     pthread_spinlock_t *lock;
+pthread_spin_lock (pthread_spinlock_t *lock)
 {
   int *p = (int *) lock;
 
index 59370f38ce16073325d5c793aeffd6c22c59470e..8b76739059938590bc28b8d4a60489e3b01c691f 100644 (file)
@@ -20,8 +20,7 @@
 #include "pthreadP.h"
 
 int
-pthread_spin_trylock (lock)
-     pthread_spinlock_t *lock;
+pthread_spin_trylock (pthread_spinlock_t *lock)
 {
   return __sync_val_compare_and_swap ((int *) lock, 0, 1) == 0 ? 0 : EBUSY;
 }
index 991a3b73e2e1924a1d44d35876b42e925017e72e..6b1faa0523228e755e4a25cb35572ac7134c3692 100644 (file)
@@ -171,8 +171,7 @@ deval (long double x, const long double *p, int n)
 
 
 long double
-__ieee754_log2l (x)
-     long double x;
+__ieee754_log2l (long double x)
 {
   long double z;
   long double y;
index 442ad972545cb1ce719f98d036574ac3f543138b..e39eaba72a7fc941b2e4338a9dfbc094da6ebd33 100644 (file)
@@ -171,8 +171,7 @@ deval (long double x, const long double *p, int n)
 
 
 long double
-__ieee754_log2l (x)
-     long double x;
+__ieee754_log2l (long double x)
 {
   long double z;
   long double y;
index 39793d146dfe8d7e025078a17009e43296a6f196..988ca5ed1831364b96405377cf2f42916dc8f731 100644 (file)
@@ -26,8 +26,7 @@
 #if    defined (__GNUC__) && defined (__mc68020__)
 
 int
-__ffs (x)
-     int x;
+__ffs (int x)
 {
   int cnt;
 
index e029948e9888b1d2253650f7a04ae9e0a172c5f7..40621ba580466fe07cc4b9267d9c33d3e5e0724b 100644 (file)
@@ -28,8 +28,7 @@
 #endif
 
 float_type
-FUNC (x)
-     float_type x;
+FUNC (float_type x)
 {
   return __m81_u(FUNC)(x);
 }
index b3aeca7602b26c04391c1588062229e43634737e..7ac16c9a34015c0fcafa9b0c89cf6cecd908e4b4 100644 (file)
@@ -28,9 +28,7 @@
 #endif
 
 float_type
-FUNC (x, y)
-     float_type x;
-     float_type y;
+FUNC (float_type x, float_type y)
 {
   return __m81_u(FUNC)(x, y);
 }
index 726ee82760705677fc101c69524015678ae562e3..52886109d78213f9b22e336a15758e59ea4a2f57 100644 (file)
@@ -24,9 +24,7 @@
    of time adjustment remaining to be done from the last `__adjtime' call.
    This call is restricted to the super-user.  */
 int
-__adjtime (delta, olddelta)
-     const struct timeval *delta;
-     struct timeval *olddelta;
+__adjtime (const struct timeval *delta, struct timeval *olddelta)
 {
   error_t err;
   mach_port_t hostpriv;
index 05502e2249cb3305b15d0dac79727db7455fa4e5..f44c66dbadaf161172056009cde2a5cfd0c778f7 100644 (file)
@@ -24,9 +24,7 @@
    putting it into *TV and *TZ.  If TZ is NULL, *TZ is not filled.
    Returns 0 on success, -1 on errors.  */
 int
-__gettimeofday (tv, tz)
-     struct timeval *tv;
-     struct timezone *tz;
+__gettimeofday (struct timeval *tv, struct timezone *tz)
 {
   kern_return_t err;
 
index 978b68f0ec32edbfa4789bcc2f2e98e28faa05f8..c71f9d9a27aeaa5c2bea48e19ca55b85578ed5d8 100644 (file)
@@ -46,8 +46,7 @@ _hurd_exit (int status)
 }
 
 void
-_exit (status)
-     int status;
+_exit (int status)
 {
   _hurd_exit (W_EXITCODE (status, 0));
 }
index ead583bf40c5dcfd0295779763dad1cce5dddbad..259bb5805d6b1233c6025039ba2a240ba6ebf610 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Test for access to FILE by our real user and group IDs.  */
 int
-__access (file, type)
-     const char *file;
-     int type;
+__access (const char *file, int type)
 {
   error_t err;
   file_t rcrdir, rcwdir, io;
index cdf62cae8c1d291ba21a0f57c6b018300d06237c..02dd342b5611b22d658a37f1760a0c542e4ace4d 100644 (file)
@@ -24,9 +24,7 @@
    of time adjustment remaining to be done from the last `__adjtime' call.
    This call is restricted to the super-user.  */
 int
-__adjtime (delta, olddelta)
-     const struct timeval *delta;
-     struct timeval *olddelta;
+__adjtime (const struct timeval *delta, struct timeval *olddelta)
 {
   error_t err;
   mach_port_t hostpriv;
index eaaf6466d347065e5e806fc318b3b1d9c04c92dc..ab11329e160a6ec84fd51505d8b06877c03d1e60 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Change the current directory to FILE_NAME.  */
 int
-__chdir (file_name)
-     const char *file_name;
+__chdir (const char *file_name)
 {
   return _hurd_change_directory_port_from_name (&_hurd_ports[INIT_PORT_CWDIR],
                                                file_name);
index 5a08a818f88b789a6b55541e4d3cbe1a928c01b2..f3cbcbeb14e3b4198584385eea396e552bf61071 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Change the protections of FILE to MODE.  */
 int
-__chmod (file, mode)
-     const char *file;
-     mode_t mode;
+__chmod (const char *file, mode_t mode)
 {
   error_t err;
   file_t port = __file_name_lookup (file, 0, 0);
index 1cf252545b7d760baa11649c4c89e1f21b4425e2..50c3e9e9514fef1de390a3c1b5aee5678a6f1665 100644 (file)
 
 /* Change the owner and group of FILE.  */
 int
-__chown (file, owner, group)
-     const char *file;
-     uid_t owner;
-     gid_t group;
+__chown (const char *file, uid_t owner, gid_t group)
 {
   error_t err;
   file_t port = __file_name_lookup (file, 0, 0);
index 695a243395f7ce8da34291ea91ae633b86415610..71082c55539735fa31c2c8f508e1df47c9149750 100644 (file)
@@ -22,8 +22,7 @@
 /* Placeholder for key creation routine from Hurd cthreads library.  */
 int
 weak_function
-cthread_keycreate (key)
-     cthread_key_t *key;
+cthread_keycreate (cthread_key_t *key)
 {
   __set_errno (ENOSYS);
  *key = -1;
@@ -33,9 +32,7 @@ cthread_keycreate (key)
 /* Placeholder for key retrieval routine from Hurd cthreads library.  */
 int
 weak_function
-cthread_getspecific (key, pval)
-     cthread_key_t key;
-     void **pval;
+cthread_getspecific (cthread_key_t key, void **pval)
 {
   *pval = NULL;
   __set_errno (ENOSYS);
@@ -45,9 +42,7 @@ cthread_getspecific (key, pval)
 /* Placeholder for key setting routine from Hurd cthreads library.  */
 int
 weak_function
-cthread_setspecific (key, val)
-     cthread_key_t key;
-     void *val;
+cthread_setspecific (cthread_key_t key, void *val)
 {
   __set_errno (ENOSYS);
   return -1;
@@ -56,8 +51,7 @@ cthread_setspecific (key, val)
 /* Call cthread_getspecific which gets a pointer to the return value instead
    of just returning it.  */
 void *
-__libc_getspecific (key)
-     cthread_key_t key;
+__libc_getspecific (cthread_key_t key)
 {
   void *val;
   cthread_getspecific (key, &val);
index 266c82dfb9a4a190a28202b7163b289b3ceecb65..cbb880ea03cf06bd65b1b7db5593e3f903583bda 100644 (file)
@@ -23,9 +23,7 @@
 #include <hurd.h>
 
 int
-__euidaccess (file, type)
-     const char *file;
-     int type;
+__euidaccess (const char *file, int type)
 {
   error_t err;
   file_t port;
index 3b84e8757d11cdbf6e30c5f2af233cc9ec43cae3..2348e9bc7943bf8f66c5179dab8fbf4e0f30e840 100644 (file)
 #include <hurd/fd.h>
 
 int
-faccessat (fd, file, type, flag)
-     int fd;
-     const char *file;
-     int type;
-     int flag;
+faccessat (int fd, const char *file, int type, int flag)
 {
   error_t err;
   file_t port;
index 9c613b318e2dab248673d616704ad82dcead6813..932c652ba3da55108e738f75e7c35ee1dd6a1e70 100644 (file)
@@ -24,8 +24,7 @@
 /* Change the current directory to FD.  */
 
 int
-__fchdir (fd)
-     int fd;
+__fchdir (int fd)
 {
   return _hurd_change_directory_port_from_fd (&_hurd_ports[INIT_PORT_CWDIR],
                                              fd);
index fd1a6bd9ccc745b64318069daff3e2681e9986bc..2b019179227c02d8719d2411b3960ef0a9530331 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Change the permissions of the file referenced by FD to MODE.  */
 int
-__fchmod (fd, mode)
-     int fd;
-     mode_t mode;
+__fchmod (int fd, mode_t mode)
 {
   error_t err;
 
index f678fb46a733d8fa6d890b1b9d1af0b65ff23065..1ba678017e60ad28d6333fbab01f3d14dc42861f 100644 (file)
 #include <hurd/fd.h>
 
 int
-fchmodat (fd, file, mode, flag)
-     int fd;
-     const char *file;
-     mode_t mode;
-     int flag;
+fchmodat (int fd, const char *file, mode_t mode, int flag)
 {
   error_t err;
   file_t port = __file_name_lookup_at (fd, flag, file, 0, 0);
index 747150539bd4fda2c1abfe242a304a9a864231f3..fcbe7800be97c6fdea1867c9878ef131852334c0 100644 (file)
 
 /* Change the owner and group of the file referred to by FD.  */
 int
-__fchown (fd, owner, group)
-     int fd;
-     uid_t owner;
-     gid_t group;
+__fchown (int fd, uid_t owner, gid_t group)
 {
   error_t err;
 
index dd1ee9a99036189d2742cb3526c8827bfb1115d6..d77c40459b5eb32b5f18af2ca2101d5ab05eda2a 100644 (file)
 
 /* Change the owner and group of FILE.  */
 int
-fchownat (fd, file, owner, group, flag)
-     int fd;
-     const char *file;
-     uid_t owner;
-     gid_t group;
-     int flag;
+fchownat (int fd, const char *file, uid_t owner, gid_t group, int flag)
 {
   error_t err;
   file_t port = __file_name_lookup_at (fd, flag, file, 0, 0);
index 7c716e9da4c181e22007c02e3c26efb1927f3133..4186c67e0182877e929e058b88f2dac7dc0445de 100644 (file)
@@ -23,9 +23,7 @@
 /* Apply or remove an advisory lock, according to OPERATION,
    on the file FD refers to.  */
 int
-__flock (fd, operation)
-     int fd;
-     int operation;
+__flock (int fd, int operation)
 {
   error_t err;
 
index 49fca8dcf40771689501124e00f17cbb596c8010..04ce7294fb8bda9036898708c9349dc702ca4f23 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Make all changes done to FD actually appear on disk.  */
 int
-fsync (fd)
-     int fd;
+fsync (int fd)
 {
   error_t err = HURD_DPORT_USE (fd, __file_sync (port, 1, 0));
   if (err)
index f2134265cd69caa65f087f8153b886f04ba1112b..780c31483cca6e1b61011228b06bc9dde461a9e6 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Truncate the file referenced by FD to LENGTH bytes.  */
 int
-__ftruncate (fd, length)
-     int fd;
-     __off_t length;
+__ftruncate (int fd, __off_t length)
 {
   error_t err;
   if (err = HURD_DPORT_USE (fd, __file_set_size (port, length)))
index bf5de3b3484579aa524b0f469897465440533b22..679d4f01d7392b6dc0a6702a7460ab50e746ed8c 100644 (file)
@@ -22,9 +22,7 @@
 #include <string.h>
 
 int
-__getgroups (n, gidset)
-     int n;
-     gid_t *gidset;
+__getgroups (int n, gid_t *gidset)
 {
   error_t err;
   int ngids;
index a1fe95e7e76cf218e93a18d3c2740f75f4bfb4a3..f3fb9dd28356a8ce149a27c8a4649a91e078da7e 100644 (file)
@@ -22,9 +22,7 @@
    The result is null-terminated if LEN is large enough for the full
    name and the terminator.  */
 int
-__gethostname (name, len)
-     char *name;
-     size_t len;
+__gethostname (char *name, size_t len)
 {
   /* The host name is just the contents of the file /etc/hostname.  */
   ssize_t n = _hurd_get_host_config ("/etc/hostname", name, len);
index 96d7043bff35061ecfbf08280e4f43eebe8c5f7e..9da05c8b64cfc38f60f4e4e0d3a4a92d144cf16e 100644 (file)
@@ -42,9 +42,7 @@ subtract_timeval (struct timeval *from, const struct timeval *subtract)
 /* Set *VALUE to the current setting of timer WHICH.
    Return 0 on success, -1 on errors.  */
 int
-__getitimer (which, value)
-     enum __itimer_which which;
-     struct itimerval *value;
+__getitimer (enum __itimer_which which, struct itimerval *value)
 {
   struct itimerval val;
   struct timeval elapsed;
index 9c66f865ab384f3f0ed30d5df712d1ff846c9a75..ccdfe60b4f53ca506aa1cccb6828ebf956989d0e 100644 (file)
@@ -25,9 +25,7 @@
    If it cannot be determined or some other error occurred, return the error
    code.  Otherwise return 0.  */
 int
-__getlogin_r (name, name_len)
-     char *name;
-     size_t name_len;
+__getlogin_r (char *name, size_t name_len)
 {
   string_t login;
   error_t err;
index a27edae34c661b8f64cc6d8516634976a945ba66..65bd3c65bbf8f8ae555d09a8ce6ac9352a076333 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Get the process group ID of process PID.  */
 int
-__getpgid (pid)
-     pid_t pid;
+__getpgid (pid_t pid)
 {
   error_t err;
   pid_t pgrp;
index 769ba8e023485acb6a2c8424f6350b2f95a64c00..1ad09b3c4df5372dd4d39d1d7bf384ee77a5d3d7 100644 (file)
@@ -26,9 +26,7 @@
 /* Return resource usage information on process indicated by WHO
    and put it in *USAGE.  Returns 0 for success, -1 for failure.  */
 int
-__getrusage (who, usage)
-     enum __rusage_who who;
-     struct rusage *usage;
+__getrusage (enum __rusage_who who, struct rusage *usage)
 {
   struct task_basic_info bi;
   struct task_events_info ei;
index 4c26b6bd58f0c5bc02b1d183345401fe8d8b11ab..f0dd63567e28925975c3fffa9b69c9e682e25b0d 100644 (file)
 
 /* Put the local address of FD into *ADDR and its length in *LEN.  */
 int
-__getsockname (fd, addrarg, len)
-     int fd;
-     __SOCKADDR_ARG addrarg;
-     socklen_t *len;
+__getsockname (int fd, __SOCKADDR_ARG addrarg, socklen_t *len)
 {
   error_t err;
   struct sockaddr *addr = addrarg.__sockaddr__;
index 991bd919eb7146ba579afcdeefbd54a9f0c552a1..cc29782506d01e9523c30ef8ae2058475b730b39 100644 (file)
@@ -22,8 +22,7 @@
 #include <hurd/id.h>
 
 int
-__group_member (gid)
-     gid_t gid;
+__group_member (gid_t gid)
 {
   int member = 0;
   error_t err;
index 3fd5077717dbcf55ce0c33506ca24657882e7bca..37971543aa9bfd16e52482138507aeeae68af0f9 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Return 1 if FD is a terminal, 0 if not.  */
 int
-__isatty (fd)
-     int fd;
+__isatty (int fd)
 {
   error_t err;
   mach_port_t id;
index 8bfe9f8155703883ede23b7b7334474b2be197c7..f924fe9f6a26f1c70b33d12afffa7cf7032d16ab 100644 (file)
 /* Change the owner and group of FILE; if it's a link, do the link and
    not the target.  */
 int
-__lchown (file, owner, group)
-     const char *file;
-     uid_t owner;
-     gid_t group;
+__lchown (const char *file, uid_t owner, gid_t group)
 {
   error_t err;
   file_t port = __file_name_lookup (file, O_NOLINK, 0);
index 49e6249c9d6141c639002de15d4c4836381bc39f..4685ae888973dd11dcf5aff4f78401a25450909d 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Make a link to FROM called TO.  */
 int
-__link (from, to)
-     const char *from;
-     const char *to;
+__link (const char *from, const char *to)
 {
   error_t err;
   file_t oldfile, linknode, todir;
index 10f653d2c6674a6596aa71a7dcd83d4fc8a05098..0dfa702babc4bfbd564d3e3289e97a28eab8f277 100644 (file)
 
 /* Make a link to FROM relative to FROMFD called TO relative to TOFD.  */
 int
-linkat (fromfd, from, tofd, to, flags)
-     int fromfd;
-     const char *from;
-     int tofd;
-     const char *to;
-     int flags;
+linkat (int fromfd, const char *from, int tofd, const char *to, int flags)
 {
   error_t err;
   file_t oldfile, linknode, todir;
index 3be59d0ca12961c4299f6533776d1e3a2ba2c937..dea1728fa11224bf15e1388a144dd29452a77a09 100644 (file)
@@ -26,9 +26,7 @@
    Returns 0 on success, -1 for errors.  */
 
 int
-__listen (fd, n)
-     int fd;
-     int n;
+__listen (int fd, int n)
 {
   error_t err = HURD_DPORT_USE (fd, __socket_listen (port, n));
   if (err)
index 329f110a830e1365d4772c3531fd59db10358fe6..9b0db713d017af458f56ce567a1269ec2f48ea53 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Create a directory named FILE_NAME with protections MODE.  */
 int
-__mkdir (file_name, mode)
-     const char *file_name;
-     mode_t mode;
+__mkdir (const char *file_name, mode_t mode)
 {
   error_t err;
   const char *name;
index 75560dc4f300b0dd9f320e7050c8d48ffd7ebb96..7b7501a013e91bde0e54be6c740d29ce306f5e56 100644 (file)
 #include <string.h>
 
 int
-mkdirat (fd, path, mode)
-     int fd;
-     const char *path;
-     mode_t mode;
+mkdirat (int fd, const char *path, mode_t mode)
 {
   error_t err;
   const char *name;
index 0d3e138890636710daa3474deba9325bee9e1c11..84a2b085967a5fea1686a4ae9c771b8973b07241 100644 (file)
    the directory associated with FD.  If O_CREAT or O_TMPFILE is in OFLAG, 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)
 {
   mode_t mode;
   io_t port;
index 30a390cce6568160a19384b24f159205e96faac5..cf42b2ea8735b492844a9bee7cba6cd4a95b029a 100644 (file)
    or -1 for errors.  */
 
 int
-__poll (fds, nfds, timeout)
-     struct pollfd *fds;
-     nfds_t nfds;
-     int timeout;
+__poll (struct pollfd *fds, nfds_t nfds, int timeout)
 {
   struct timespec ts, *to;
 
index b36a9494f92e0289396af0d198add1f3bafc5f83..8727d1ac20c8e8605be1566c09a28b983ed9f3c7 100644 (file)
    LEN bytes of BUF.  The contents are not null-terminated.
    Returns the number of characters read, or -1 for errors.  */
 ssize_t
-__readlink (file_name, buf, len)
-     const char *file_name;
-     char *buf;
-     size_t len;
+__readlink (const char *file_name, char *buf, size_t len)
 {
   error_t err;
   file_t file;
index b538a3bccf567110c6f8bf65a5f9ae5e002cf287..5a92bb5fc3fde15348f22ca2a31a0eb626a4df9e 100644 (file)
    than LEN bytes of BUF.  The contents are not null-terminated.
    Returns the number of characters read, or -1 for errors.  */
 ssize_t
-readlinkat (fd, file_name, buf, len)
-     int fd;
-     const char *file_name;
-     char *buf;
-     size_t len;
+readlinkat (int fd, const char *file_name, char *buf, size_t len)
 {
   error_t err;
   file_t file;
index 358380e7a601520e606e46de649fbded29edbae2..832b39736ab2a8acfd2c116a6e25e4191425a508 100644 (file)
    Returns the number read or -1 for errors.  */
 
 ssize_t
-__recv (fd, buf, n, flags)
-     int fd;
-     void *buf;
-     size_t n;
-     int flags;
+__recv (int fd, void *buf, size_t n, int flags)
 {
   error_t err;
   mach_port_t addrport;
index e04371398ebd66617503c0a77ae05f15579abbe2..ad580179bbcdd4a3c244df7d3b8fda64dd50c982 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Rename the file OLD to NEW.  */
 int
-rename (old, new)
-     const char *old;
-     const char *new;
+rename (const char *old, const char *new)
 {
   error_t err;
   file_t olddir, newdir;
index eabf28f9770964f4304b85c7183e9366e173d7b0..958499e80da896bd4235bdbbec4741c8068a37da 100644 (file)
 
 /* Rename the file OLD relative to OLDFD to NEW relative to NEWFD.  */
 int
-renameat (oldfd, old, newfd, new)
-     int oldfd;
-     const char *old;
-     int newfd;
-     const char *new;
+renameat (int oldfd, const char *old, int newfd, const char *new)
 {
   error_t err;
   file_t olddir, newdir;
index 3412e6c43998770903a3ff72ba6cdce68a8f2609..6bbb8dab3a805efd14be41ef76e52bb29aad09d1 100644 (file)
@@ -21,8 +21,7 @@
 #include <hurd.h>
 
 int
-revoke (file_name)
-     const char *file_name;
+revoke (const char *file_name)
 {
   error_t err;
   file_t file = __file_name_lookup (file_name, 0, 0);
index 1e045f15844b1ed58be98efc171f7b9b5a9efbd5..06c7a41ce293a03c740af8873757c7fc0ccc7ed7 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Rewind DIRP to the beginning of the directory.  */
 void
-__rewinddir (dirp)
-     DIR *dirp;
+__rewinddir (DIR *dirp)
 {
   seekdir (dirp, (off_t) 0L);
 }
index f1ac498a10c01d8bff13dc4076300c6384d07296..1c181651878024dabba990353315070aa665f1d9 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Remove the directory FILE_NAME.  */
 int
-__rmdir (file_name)
-     const char *file_name;
+__rmdir (const char *file_name)
 {
   error_t err;
   const char *name;
index d13561cf5e029f5ab6bec3822f45135475563828..ccbef320f6da862404fc27344291d83bd0805af2 100644 (file)
@@ -24,9 +24,7 @@
 /* Seek to position POS in DIRP.  */
 /* XXX should be __seekdir ? */
 void
-seekdir (dirp, pos)
-     DIR *dirp;
-     long int pos;
+seekdir (DIR *dirp, long int pos)
 {
   __libc_lock_lock (dirp->__lock);
   /* Change our entry index pointer to POS and discard any data already
index 4ba85e198891bf453c440f69f1ee2e58d59b2091..78de0f2c9bd312fe1feed466871daac32941a597 100644 (file)
 
 /* Send N bytes of BUF to socket FD.  Returns the number sent or -1.  */
 ssize_t
-__send (fd, buf, n, flags)
-     int fd;
-     const void *buf;
-     size_t n;
-     int flags;
+__send (int fd, const void *buf, size_t n, int flags)
 {
   error_t err;
   size_t wrote;
index 8f786d46c5b864c2b729acda08170a2982af496e..3949d1a7f26b2327503c387dc76b94f7ac62e7a2 100644 (file)
@@ -21,9 +21,7 @@
 /* Set the name of the current YP domain to NAME, which is LEN bytes long.
    This call is restricted to the super-user.  */
 int
-setdomainname (name, len)
-     const char *name;
-     size_t len;
+setdomainname (const char *name, size_t len)
 {
   /* The NIS domain name is just the contents of the file /etc/nisdomain.  */
   ssize_t n = _hurd_set_host_config ("/etc/nisdomain", name, len);
index 23a780db2990027f49608f0df2641b03dd09d94e..aee4a3da11a1edd6cacfaee80193e5c0ad452bef 100644 (file)
@@ -24,8 +24,7 @@
 
 /* Set the effective user ID of the calling process to GID.  */
 int
-setegid (gid)
-     gid_t gid;
+setegid (gid_t gid)
 {
   auth_t newauth;
   error_t err;
index dad9ffd68de08c10a82ddd78949374dd8d163b65..e2db6c5fc88e3ae74c8112f19846aefde443834f 100644 (file)
@@ -24,8 +24,7 @@
 
 /* Set the effective user ID of the calling process to UID.  */
 int
-seteuid (uid)
-     uid_t uid;
+seteuid (uid_t uid)
 {
   auth_t newauth;
   error_t err;
index 49d598e6d464a4a4f951d9f9a54b213fe01b4785..bb354ad8a7608ffd5797692527e90678a0f70a48 100644 (file)
@@ -27,8 +27,7 @@
    and effective group IDs, and the saved set-group-ID to UID;
    if not, the effective group ID is set to GID.  */
 int
-__setgid (gid)
-     gid_t gid;
+__setgid (gid_t gid)
 {
   auth_t newauth;
   error_t err;
index 3c75d7c4a68e0cc9c43a84fef5b937812179836d..43260859d291b198d86bc29cb928532c72d40046 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Set the group set for the current user to GROUPS (N of them).  */
 int
-setgroups (n, groups)
-     size_t n;
-     const gid_t *groups;
+setgroups (size_t n, const gid_t *groups)
 {
   error_t err;
   auth_t newauth;
index 727a83c2eac6291c8e33b582673e1ed52eb33d1b..51d5bdb33ebbf861ffceaf20bfc936882f867b69 100644 (file)
@@ -25,8 +25,7 @@
 /* XXX should be __sethostid?
        isn't hostid supposed to be hardwired and unchangeable? */
 int
-sethostid (id)
-     long int id;
+sethostid (long int id)
 {
   char buf[8], *bp;
   ssize_t n;
index 21b64e9686c4ff1b6d7670144040f9e4647bb95f..469975eea0afe3a44b4960140ddeb481c13bc1bb 100644 (file)
@@ -22,9 +22,7 @@
    This call is restricted to the super-user.  */
 /* XXX should be __sethostname ? */
 int
-sethostname (name, len)
-     const char *name;
-     size_t len;
+sethostname (const char *name, size_t len)
 {
   /* The host name is just the contents of the file /etc/hostname.  */
   ssize_t n = _hurd_set_host_config ("/etc/hostname", name, len);
index d9bfcb1c06400cc5b6162bcd81648c4d0bf5154d..58176ad873ace2089177fbde9122814495cf6339 100644 (file)
@@ -21,8 +21,7 @@
 
 /* Set the login name returned by `getlogin'.  */
 int
-setlogin (name)
-     const char *name;
+setlogin (const char *name)
 {
   error_t err;
   if (err = __USEPORT (PROC, __proc_setlogin (port, name)))
index 24b640f2491b078660fd5e3f6dba2f75b850acf5..0b539d0bb6e387a00b7d99f83fc80c75f74c2219 100644 (file)
@@ -24,9 +24,7 @@
    If PID is zero, the current process's process group ID is set.
    If PGID is zero, the process ID of the process is used.  */
 int
-__setpgid (pid, pgid)
-     pid_t pid;
-     pid_t pgid;
+__setpgid (pid_t pid, pid_t pgid)
 {
   error_t err;
   unsigned int stamp;
index c2b3daf41eadfa2e52e79123cf19f3fcda82804c..28b785521183958ad399a7eadd596ae1b414a4ae 100644 (file)
@@ -23,9 +23,7 @@
 #include <string.h>
 
 int
-__setregid (rgid, egid)
-     gid_t rgid;
-     gid_t egid;
+__setregid (gid_t rgid, gid_t egid)
 {
   auth_t newauth;
   error_t err;
index 070e93deb6f1ab0b42321d95a3e3c2ad6bb47e0f..2ca6bb3458afea90bd15f975b6483b40b42f3270 100644 (file)
@@ -23,9 +23,7 @@
 #include <string.h>
 
 int
-__setreuid (ruid, euid)
-     uid_t ruid;
-     uid_t euid;
+__setreuid (uid_t ruid, uid_t euid)
 {
   auth_t newauth;
   error_t err;
index b866fc772b17a3747237192cac3917047338e82c..6fa4ae93e2fd6b9f226e6808112f46e62dc7fabf 100644 (file)
@@ -23,9 +23,7 @@
 /* Set the current time of day and timezone information.
    This call is restricted to the super-user.  */
 int
-__settimeofday (tv, tz)
-     const struct timeval *tv;
-     const struct timezone *tz;
+__settimeofday (const struct timeval *tv, const struct timezone *tz)
 {
   error_t err;
   mach_port_t hostpriv;
index 4b757b9607d7a4b88bd2415e491865a18da8ca09..7cb1cf87cfcdac4fdb8261d6a9656b276891add6 100644 (file)
@@ -27,8 +27,7 @@
    and effective user IDs, and the saved set-user-ID to UID;
    if not, the effective user ID is set to UID.  */
 int
-__setuid (uid)
-     uid_t uid;
+__setuid (uid_t uid)
 {
   auth_t newauth;
   error_t err;
index fdaddbecc0d50edbef610a236b226531a2493dd4..2ae4613d3bc0d4a1e50ab2a9d19574a73d9d6ade 100644 (file)
@@ -29,9 +29,7 @@
    Returns 0 on success, -1 for errors.  */
 /* XXX should be __shutdown ? */
 int
-shutdown (fd, how)
-     int fd;
-     int how;
+shutdown (int fd, int how)
 {
   error_t err = HURD_DPORT_USE (fd, __socket_shutdown (port, how));
   if (err)
index 34be28f5e19dc1e8ae0fe0cbbe49edc872cf929a..aba740776fc8e25dd7e89cf7c13286b8531dae1d 100644 (file)
 /* If ACT is not NULL, change the action for SIG to *ACT.
    If OACT is not NULL, put the old action for SIG in *OACT.  */
 int
-__sigaction (sig, act, oact)
-     int sig;
-     const struct sigaction *act;
-     struct sigaction *oact;
+__sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
 {
   struct hurd_sigstate *ss;
   struct sigaction a, old;
index f573c5ce075fdc1cb77e8efd7e4d83ebb497da59..00f83e4be8cbd8801ffca177b2bac950c134011b 100644 (file)
@@ -22,9 +22,7 @@
 /* Run signals handlers on the stack specified by SS (if not NULL).
    If OSS is not NULL, it is filled in with the old signal stack status.  */
 int
-__sigaltstack (argss, oss)
-     const struct sigaltstack *argss;
-     struct sigaltstack *oss;
+__sigaltstack (const struct sigaltstack *argss, struct sigaltstack *oss)
 {
   struct hurd_sigstate *s;
   struct sigaltstack ss, old;
index 254b055c8b324014ab710a597976f9d80966e91e..a941e1e59a1cfd011f474a30c4499e5475fd564e 100644 (file)
@@ -24,8 +24,7 @@
 /* Store in SET all signals that are blocked and pending.  */
 /* XXX should be __sigpending ? */
 int
-sigpending (set)
-     sigset_t *set;
+sigpending (sigset_t *set)
 {
   struct hurd_sigstate *ss;
   sigset_t pending;
index 2e496dc63bcd8c1a5cad97c759bd47425d1218f2..a1e8f444f8880bbb90adcafc0faba3f157c18e6b 100644 (file)
    according to HOW, which may be SIG_BLOCK, SIG_UNBLOCK or SIG_SETMASK.
    If OSET is not NULL, store the old set of blocked signals in *OSET.  */
 int
-__sigprocmask (how, set, oset)
-     int how;
-     const sigset_t *set;
-     sigset_t *oset;
+__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
 {
   struct hurd_sigstate *ss;
   sigset_t old, new;
index 5bd7da9302bfee674b70c59b0a9fe09be8e1fa7d..3e9e0f6387f38617f5439c2ad15eebd4ee4d275d 100644 (file)
@@ -24,8 +24,7 @@
 /* Change the set of blocked signals to SET,
    wait until a signal arrives, and restore the set of blocked signals.  */
 int
-__sigsuspend (set)
-     const sigset_t *set;
+__sigsuspend (const sigset_t *set)
 {
   struct hurd_sigstate *ss;
   sigset_t newmask, oldmask, pending;
index bb7daddb5ebdd4321ea0dafcda34f66e152a47e6..9cdaedb6a2d3db879598e5574a1b1777289ae9fb 100644 (file)
    protocol PROTOCOL.  If PROTOCOL is zero, one is chosen automatically.
    Returns a file descriptor for the new socket, or -1 for errors.  */
 int
-__socket (domain, type, protocol)
-     int domain;
-     int type;
-     int protocol;
+__socket (int domain, int type, int protocol)
 {
   error_t err;
   socket_t sock, server;
index bf1b0a039965e6fbdd9e3fcddab1c98c787cd78e..9ddd8d4018dd03a5812092e9bc11677f487093cf 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Make a link to FROM called TO.  */
 int
-__symlink (from, to)
-     const char *from;
-     const char *to;
+__symlink (const char *from, const char *to)
 {
   error_t err;
   file_t dir, node;
index 0a6a9363a63b82e8d423a9c21d0bee58f052c8da..c72b3a41766b98e5f710893eb4abf445a4b80f97 100644 (file)
 
 /* Make a link to FROM called TO relative to FD.  */
 int
-symlinkat (from, fd, to)
-     const char *from;
-     int fd;
-     const char *to;
+symlinkat (const char *from, int fd, const char *to)
 {
   error_t err;
   file_t dir, node;
index 21fb8f2bc0a4461cccfa7369e00c07c6b4a12e98..ed5a3258283eb628c07f520dab0ac267aaf4ee8a 100644 (file)
@@ -25,8 +25,7 @@
 /* Return the current position of DIRP.  */
 /* XXX should be __telldir ? */
 long int
-telldir (dirp)
-     DIR *dirp;
+telldir (DIR *dirp)
 {
   return dirp->__entry_ptr;
 }
index 89661e683d6b94fcbac82ed70e574ec95fb08c6f..bbbda6496e806b2946b71dfdf7523e1b7cb998b8 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Truncate FILE_NAME to LENGTH bytes.  */
 int
-__truncate (file_name, length)
-     const char *file_name;
-     off_t length;
+__truncate (const char *file_name, off_t length)
 {
   error_t err;
   file_t file = __file_name_lookup (file_name, O_WRITE, 0);
index 8e1a9bebaa7444a4b3fcd825e7028a36daa4c9d5..3dc367a52a07475b5c3fbc617e2c6c66c52435c3 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Set the file creation mask to MASK, returning the old mask.  */
 mode_t
-__umask (mask)
-     mode_t mask;
+__umask (mode_t mask)
 {
   mode_t omask;
   mask &= 0777;
index 607eb3a4220aa9309cf6ee26833eb09254d1512c..03350a6c2ec4e1c6c449b0dcf4b1cc62544a4c16 100644 (file)
@@ -23,8 +23,7 @@
 
 /* Remove the link named NAME.  */
 int
-__unlink (name)
-     const char *name;
+__unlink (const char *name)
 {
   error_t err;
   file_t dir;
index 95151e6c4fdf55ac48825709cec71fd3d55274bd..050f21dde7411fd6a9f0a9607fbbf5cc2e226cd8 100644 (file)
 
 /* Remove the link named NAME.  */
 int
-unlinkat (fd, name, flag)
-     int fd;
-     const char *name;
-     int flag;
+unlinkat (int fd, const char *name, int flag)
 {
   error_t err;
   file_t dir;
index 15d761b5999963bdaeea2e4a93119b00f12144e5..433e5f8ca84f04e2258705b6bc1c3f9e8aa5fbbb 100644 (file)
@@ -25,9 +25,7 @@
 #endif
 
 void
-__longjmp (env_arg, val_arg)
-     __jmp_buf env_arg;
-     int val_arg;
+__longjmp (__jmp_buf env_arg, int val_arg)
 {
   /* gcc 1.39.19 miscompiled the longjmp routine (as it did setjmp before
      the hack around it); force it to use $a1 for the longjmp value.
index 002366462c192b3e57eddc87982756ca85d334a3..f7d97f1f330d3c698e27514616826a149b666315 100644 (file)
@@ -26,8 +26,7 @@
    to 0 and check its value after calling `alarm', and this might tell you.
    The signal may come late due to processor scheduling.  */
 unsigned int
-alarm (seconds)
-     unsigned int seconds;
+alarm (unsigned int seconds)
 {
   struct itimerval old, new;
   unsigned int retval;
index acdd20cd5eebeaf8bedd518707f9ca958682e1ea..d89e34edd01cd550de83ee8849e9c5ec4df24b1e 100644 (file)
@@ -25,8 +25,7 @@
    If S is not NULL, it points to a buffer of at least L_cuserid bytes
    into which the name is copied; otherwise, a static buffer is used.  */
 char *
-cuserid (s)
-     char *s;
+cuserid (char *s)
 {
   static char name[L_cuserid];
   char buf[NSS_BUFLEN_PASSWD];
index 1630f8987bf30f2092a80aeb4c94e20ced1e90ec..e56a5894386f76009491012a67973d578d238325 100644 (file)
@@ -22,8 +22,7 @@
 #undef dirfd
 
 int
-dirfd (dirp)
-     DIR *dirp;
+dirfd (DIR *dirp)
 {
   return dirp->fd;
 }
index 02d7097b4ca3cd6a2a493c7e53d41bd0981f0caf..27eff451bdca73cf1e4333680926117d734d4712 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Duplicate FD, returning a new file descriptor open on the same file.  */
 int
-__dup (fd)
-     int fd;
+__dup (int fd)
 {
   return fcntl (fd, F_DUPFD, 0);
 }
index ab983bcf74cb315ed31c188537e63d23363e4433..f61eba5b5b68a440ab8e7a23195b091c6a34dc1d 100644 (file)
@@ -23,9 +23,7 @@
 /* Duplicate FD to FD2, closing the old FD2 and making FD2 be
    open the same file as FD is.  Return FD2 or -1.  */
 int
-__dup2 (fd, fd2)
-     int fd;
-     int fd2;
+__dup2 (int fd, int fd2)
 {
   int save;
 
index 15340572c33c8c452f3803761b48e124a164e004..3dbdc4304782b6b986296bca1fc676935913a3ce 100644 (file)
@@ -117,9 +117,7 @@ int group_member ();
    filesystem, text busy, etc. */
 
 int
-euidaccess (path, mode)
-     const char *path;
-     int mode;
+euidaccess (const char *path, int mode)
 {
   struct stat64 stats;
   int granted;
@@ -196,9 +194,7 @@ weak_alias (__euidaccess, eaccess)
 char *program_name;
 
 int
-main (argc, argv)
-     int argc;
-     char **argv;
+main (int argc, char **argv)
 {
   char *file;
   int mode;
index ba7078bdbc8ba56c618366c2ffdcbec4ad0e31b1..fdac6a758cbd8785adcf09609845cb67b552d6be 100644 (file)
@@ -27,9 +27,7 @@
 /* Apply or remove an advisory lock, according to OPERATION,
    on the file FD refers to.  */
 int
-__flock (fd, operation)
-     int fd;
-     int operation;
+__flock (int fd, int operation)
 {
   struct flock lbuf;
 
index 088eb150ff3015b590817c69f7a6879b53377b6f..17ed92449e84c806965047ac60aeb31dca1bec10 100644 (file)
@@ -26,9 +26,7 @@
 
 /* Get file-specific information about descriptor FD.  */
 long int
-__fpathconf (fd, name)
-     int fd;
-     int name;
+__fpathconf (int fd, int name)
 {
   if (fd < 0)
     {
index afe696767a7904dcf1aeb9b6faf50fb9b7a14dc5..ccb8e99c94a9921802b896f9c9a2fb5a034c4d62 100644 (file)
@@ -222,9 +222,7 @@ static int __rtld_have_atfcts;
    unless SIZE == 0, in which case it is as big as necessary.  */
 
 GETCWD_RETURN_TYPE
-__getcwd (buf, size)
-     char *buf;
-     size_t size;
+__getcwd (char *buf, size_t size)
 {
 #ifndef __ASSUME_ATFCTS
   static const char dots[]
index 49177059c6e8ea1c71af122474a586d27a987bb9..61e75e8b80058816b95a97bc464ffa38f142b8e1 100644 (file)
@@ -24,9 +24,7 @@
    The result is null-terminated if LEN is large enough for the full
    name and the terminator.  */
 int
-__gethostname (name, len)
-     char *name;
-     size_t len;
+__gethostname (char *name, size_t len)
 {
   struct utsname buf;
   size_t node_len;
index 018acdfd0ac71195419aa9969e0fbfcdc614ee00..08710237fd869701c9304c82c98d8fbe2c6fc2d0 100644 (file)
@@ -23,9 +23,7 @@
    putting it into *TV and *TZ.  If TZ is NULL, *TZ is not filled.
    Returns 0 on success, -1 on errors.  */
 int
-__gettimeofday (tv, tz)
-     struct timeval *tv;
-     struct timezone *tz;
+__gettimeofday (struct timeval *tv, struct timezone *tz)
 {
   if (tv == NULL)
     {
index 807631a48423faf17c31c79f58ad4af373ec94fd..10f19e4cb49aef1ca461d699000dcebbf1565913 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Return 1 if FD is a terminal, 0 if not.  */
 int
-__isatty (fd)
-     int fd;
+__isatty (int fd)
 {
   struct termios term;
 
index 77ffc7c1d8899995f633ac661ad4c1c4c5fbc20b..8e3a3f055dc4a51ae8fd0f72a247c9af74dc399f 100644 (file)
@@ -23,9 +23,7 @@
    If PGRP is zero, send SIG to all processes in
    the current process's process group.  */
 int
-killpg (pgrp, sig)
-     __pid_t pgrp;
-     int sig;
+killpg (__pid_t pgrp, int sig)
 {
   if (pgrp < 0)
     {
index 2d99c46cf8e2ccfc2c09847d864b45b0d95efb91..6dc16c7cfc43e820eab09257b9c750f7fa408a55 100644 (file)
@@ -178,8 +178,7 @@ __libc_message (int do_abort, const char *fmt, ...)
 
 
 void
-__libc_fatal (message)
-     const char *message;
+__libc_fatal (const char *message)
 {
   /* The loop is added only to keep gcc happy.  */
   while (1)
index c7770eb60dc42df3ba952828dec4ffa98e156ff0..c929b1bc559194f50a784494e2215c8f34f060d5 100644 (file)
 /* Create a new FIFO with permission bits MODE.  But interpret
    relative PATH names relative to the directory associated with FD.  */
 int
-mkfifoat (fd, file, mode)
-     int fd;
-     const char *file;
-     mode_t mode;
+mkfifoat (int fd, const char *file, mode_t mode)
 {
   dev_t dev = 0;
   return __xmknodat (_MKNOD_VER, fd, file, mode | S_IFIFO, &dev);
index 008f87b556decd9bd4d58bae443e74a17c19799a..54d79dca7f84dabfb3c65615ec1bbd04169ed0cc 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Raise the signal SIG.  */
 int
-raise (sig)
-     int sig;
+raise (int sig)
 {
   return __kill (__getpid (), sig);
 }
index 4ae3cfb4ba72f1104984aa67e221350e70d67c95..6e0d9d855f1f711d7ffd3276d3ecd74e016bce7b 100644 (file)
@@ -27,8 +27,7 @@
 
 
 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
index 0f13abbf5d249eabc4c527bbd5ef94185007255e..8eda76513cdbc784dc91011f569cf592f1af4d17 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Rename the file OLD to NEW.  */
 int
-rename (old, new)
-     const char *old;
-     const char *new;
+rename (const char *old, const char *new)
 {
   int save = errno;
   if (__link (old, new) < 0)
index 5ac4897f7d1c70dea615a0a8b07ea1af1d5571b2..c7c127a1b5ca540be861f7bcc137bc3ed90381c1 100644 (file)
@@ -23,8 +23,7 @@
 
 /* Rewind DIRP to the beginning of the directory.  */
 void
-__rewinddir (dirp)
-     DIR *dirp;
+__rewinddir (DIR *dirp)
 {
 #if IS_IN (libc)
   __libc_lock_lock (dirp->lock);
index f15a57cf70cff1ad852ca4d0dd65f40240b277a4..7119fe72581a966c2864d0334847cbba658a7a7b 100644 (file)
@@ -24,9 +24,7 @@
 /* Seek to position POS in DIRP.  */
 /* XXX should be __seekdir ? */
 void
-seekdir (dirp, pos)
-     DIR *dirp;
-     long int pos;
+seekdir (DIR *dirp, long int pos)
 {
   __libc_lock_lock (dirp->lock);
   (void) __lseek (dirp->fd, pos, SEEK_SET);
index 3392fbf3ea756d36082d4cd746dca17e37ba254e..0236e97a15fed10707183233a993dbbdd2517a7c 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Block signals in MASK, returning the old mask.  */
 int
-__sigblock (mask)
-     int mask;
+__sigblock (int mask)
 {
   sigset_t set, oset;
 
index 0c8c10dbc536eae40dbf226c32ea3b62916d6d1a..6cf3233ad792be7bde70b644932ba1712f8f69fe 100644 (file)
@@ -25,8 +25,7 @@
 
 
 int
-sigignore (sig)
-     int sig;
+sigignore (int sig)
 {
   struct sigaction act;
 
index 28c9052d47a10a8a4cdee4bcf185621c86b1a95d..c6681d56765cfa85b45df5d10f10342f7ed8c3af 100644 (file)
@@ -23,9 +23,7 @@
    (causing them to fail with EINTR); if INTERRUPT is zero, make system
    calls be restarted after signal SIG.  */
 int
-siginterrupt (sig, interrupt)
-     int sig;
-     int interrupt;
+siginterrupt (int sig, int interrupt)
 {
 #ifdef SA_RESTART
   extern sigset_t _sigintr attribute_hidden;   /* Defined in signal.c.  */
index 0c588238f3fe78d015879a69b1f7978b07efda4d..d85c08aa22486692ff0fb0e7c1464f7365ef0b9b 100644 (file)
@@ -26,9 +26,7 @@ sigset_t _sigintr attribute_hidden;           /* Set by siginterrupt.  */
 /* Set the handler for the signal SIG to HANDLER,
    returning the old handler, or SIG_ERR on error.  */
 __sighandler_t
-__bsd_signal (sig, handler)
-     int sig;
-     __sighandler_t handler;
+__bsd_signal (int sig, __sighandler_t handler)
 {
   struct sigaction act, oact;
 
index 35c9fcd607a69944470d4a7b60e91274bd661e9b..e6cd1a8ea09cbd71000fe11415535fc1b66e03eb 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Set the disposition for SIG.  */
 __sighandler_t
-sigset (sig, disp)
-     int sig;
-     __sighandler_t disp;
+sigset (int sig, __sighandler_t disp)
 {
   struct sigaction act;
   struct sigaction oact;
index 1ac689f6fbb151aaaf862f2288d12664fbc4258a..2ef9506188a2a2a16bbf95a7889bf30f817e01ce 100644 (file)
@@ -24,8 +24,7 @@
 /* Change the set of blocked signals to SET,
    wait until a signal arrives, and restore the set of blocked signals.  */
 int
-__sigsuspend (set)
-     const sigset_t *set;
+__sigsuspend (const sigset_t *set)
 {
   sigset_t oset;
   int save;
index 502fe94909d7aa463a2fbc53afbaedbad5c1f7bc..c4832f44245c1f425605af073f40272582f09e99 100644 (file)
@@ -48,8 +48,7 @@ static long int __sysconf_check_spec (const char *spec);
 
 /* Get the value of the system variable NAME.  */
 long int
-__sysconf (name)
-     int name;
+__sysconf (int name)
 {
   switch (name)
     {
index 434a3e3176615e8e6c3d2b464e85db6aa8b1dad3..6365bbbb0cbc85e1ebc8c3aa79ac215dc6389b56 100644 (file)
@@ -34,9 +34,7 @@
 /* Set the handler for the signal SIG to HANDLER,
    returning the old handler, or SIG_ERR on error.  */
 __sighandler_t
-__sysv_signal (sig, handler)
-     int sig;
-     __sighandler_t handler;
+__sysv_signal (int sig, __sighandler_t handler)
 {
   struct sigaction act, oact;
 
index 52bc14acafe87d111918f198cceacd47f5ab8325..11f224419eac9624ded252d2e18cb461e03847f2 100644 (file)
@@ -23,8 +23,7 @@
 /* Return the current time as a `time_t' and also put it in *T if T is
    not NULL.  Time is represented as seconds from Jan 1 00:00:00 1970.  */
 time_t
-time (t)
-     time_t *t;
+time (time_t *t)
 {
   struct timeval tv;
   time_t result;
index e2f17ac39454e811dae5747931381e2399ead78b..60851c2035237fdf92486d2f0426b05b62668619 100644 (file)
@@ -35,12 +35,7 @@ libc_freeres_ptr (static char *getttyname_name);
 
 static char *
 internal_function
-getttyname (fd, mydev, myino, save, dostat)
-     int fd;
-     dev_t mydev;
-     ino_t myino;
-     int save;
-     int *dostat;
+getttyname (int fd, dev_t mydev, ino_t myino, int save, int *dostat)
 {
   static const char dev[] = "/dev";
   static size_t namelen;
@@ -101,8 +96,7 @@ getttyname (fd, mydev, myino, save, dostat)
 /* 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)
 {
   struct stat st;
   int dostat = 0;
index 483b78516e7bc7285f4ee4766d9f228d5487e719..7fa85334cfe67e8ffd0e13df118c385854d02449 100644 (file)
@@ -101,10 +101,7 @@ getttyname_r (fd, buf, buflen, mydev, myino, save, dostat)
 /* 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)
 {
   struct stat st;
   int dostat = 0;
index d618bf2814c2c3b023b994957ef03818c6f07a9a..08dcc0468c68c7457af95ef95271cc996a28a643 100644 (file)
@@ -26,9 +26,7 @@
 /* Set the access and modification times of FILE to those given in TIMES.
    If TIMES is NULL, set them to the current time.  */
 int
-utime (file, times)
-     const char *file;
-     const struct utimbuf *times;
+utime (const char *file, const struct utimbuf *times)
 {
   struct timeval timevals[2];
   struct timeval *tvp;
index 412b47771ad766db647d09e3abe0d01183977d54..0ad8969b1fd9ba2d7082e764988ca9e2a30bab15 100644 (file)
@@ -36,8 +36,7 @@ hidden_proto (__isnanf)
 
 
 int
-__isnan (x)
-     double x;
+__isnan (double x)
 {
   fenv_t savedstate;
   int result;
index cc081f888c27ff2ef441b2ae8ff6defcb013afb0..d7d4cae6fa6e977f3689e99629a16f51adeaed85 100644 (file)
@@ -19,8 +19,7 @@
 #include "pthreadP.h"
 
 int
-pthread_spin_lock (lock)
-     pthread_spinlock_t *lock;
+pthread_spin_lock (pthread_spinlock_t *lock)
 {
   unsigned int __tmp;
 
index 77a46152ef0998b8100d541268b978dace94d7d7..c485aa4bf93d885939ed79d2e1548843ca667187 100644 (file)
@@ -20,8 +20,7 @@
 #include "pthreadP.h"
 
 int
-pthread_spin_trylock (lock)
-     pthread_spinlock_t *lock;
+pthread_spin_trylock (pthread_spinlock_t *lock)
 {
   unsigned int old;
   int err = EBUSY;
index ebe1378b2a56fa76943fa871a75b33236dc9b1aa..6925f723dffd648e839755770ac655133028a9f8 100644 (file)
@@ -32,8 +32,7 @@
 
 
 int
-aio_error (aiocbp)
-     const struct aiocb *aiocbp;
+aio_error (const struct aiocb *aiocbp)
 {
   int ret;
 
index a54e7fee2f8fd8de27f517b0003d007007b7f105..a26cea9397dc6361d33ead0af655c5da2fb55ace 100644 (file)
@@ -23,8 +23,7 @@
 
 
 int
-aio_read (aiocbp)
-     struct aiocb *aiocbp;
+aio_read (struct aiocb *aiocbp)
 {
   return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ) == NULL
          ? -1 : 0);
index 2a71c0a0c210787f5ba3f33e13f3911b1554c569..e0b4408fc69b13c3ef171aa67366fbaa20e05dff 100644 (file)
@@ -23,8 +23,7 @@
 
 
 int
-aio_read64 (aiocbp)
-     struct aiocb64 *aiocbp;
+aio_read64 (struct aiocb64 *aiocbp)
 {
   return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ64) == NULL
          ? -1 : 0);
index 0c69f14cc3d4d2d3791f94d3e440c666a8bb0c8f..8bcc1467a2548852aab196313869924f04b22fb3 100644 (file)
@@ -23,8 +23,7 @@
 
 
 int
-aio_write (aiocbp)
-     struct aiocb *aiocbp;
+aio_write (struct aiocb *aiocbp)
 {
   return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_WRITE) == NULL
          ? -1 : 0);
index 04c0d0254e42a408fcea37dbf09b110b62f66fdb..87412b9c250fc975c3250851c9ae303760d662c6 100644 (file)
@@ -23,8 +23,7 @@
 
 
 int
-aio_write64 (aiocbp)
-     struct aiocb64 *aiocbp;
+aio_write64 (struct aiocb64 *aiocbp)
 {
   return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_WRITE64) == NULL
          ? -1 : 0);
index 3894656747fb8f94b9ecdec50542626cec742d85..ee04d39fd862b63f4084f31d0e0b8817de4470c7 100644 (file)
@@ -23,8 +23,7 @@
 
 
 void
-__flockfile (stream)
-     FILE *stream;
+__flockfile (FILE *stream)
 {
   _IO_lock_lock (*stream->_lock);
 }
index 9ee0839882d8d982703e12bf705f9854004e8115..3d6ce10039ee0aceafcd4ec1e5cfe0484436df9f 100644 (file)
@@ -23,8 +23,7 @@
 
 
 int
-__ftrylockfile (stream)
-     FILE *stream;
+__ftrylockfile (FILE *stream)
 {
   return _IO_lock_trylock (*stream->_lock);
 }
index d33f7b0a567ce9032f439d5fd0558db356296e24..f9c7ec81c1867c14c0f2ed70257de4a046268764 100644 (file)
@@ -23,8 +23,7 @@
 
 
 void
-__funlockfile (stream)
-     FILE *stream;
+__funlockfile (FILE *stream)
 {
   _IO_lock_unlock (*stream->_lock);
 }
index 1ab53ab15176f150c58a1ad13efbc73b80a17715..a4240dd81a9ec6cd872f3ec1f0dccf1bcfe8e77f 100644 (file)
 
 /* Create new per-process timer using CLOCK.  */
 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)
 {
   int retval = -1;
   struct timer_node *newtimer = NULL;
index 12433c63a8842d8f9b864516548cd1ea85fa4810..5b540673a63a99706362f7935c324022211db4ae 100644 (file)
@@ -25,8 +25,7 @@
 
 /* Get expiration overrun for timer TIMERID.  */
 int
-timer_getoverrun (timerid)
-     timer_t timerid;
+timer_getoverrun (timer_t timerid)
 {
   struct timer_node *timer;
   int retval = -1;
index 07f2f0cde483cc261601f2e185c0b8c71ea165c9..db5fd9eadefeaadc0fda23f09288415636b4014d 100644 (file)
@@ -25,9 +25,7 @@
 
 /* Get current value of timer TIMERID and store it in VLAUE.  */
 int
-timer_gettime (timerid, value)
-     timer_t timerid;
-     struct itimerspec *value;
+timer_gettime (timer_t timerid, struct itimerspec *value)
 {
   struct timer_node *timer;
   struct timespec now, expiry;
index 645e40ddd0dd843d85619beb83d8ab1a3db2acc7..a5d102549a2dc3a5b22be02bb7c37d3c06fa9c8d 100644 (file)
@@ -29,8 +29,7 @@
    differs in spirit from the above ffz (man ffs).  */
 
 int
-__ffs (x)
-     int x;
+__ffs (int x)
 {
        int r;
 
index b255b38975751cbc651bee7fa27325ed49688508..f6bca3de4d24a5c0347208ea4d805af28f8b21bd 100644 (file)
@@ -19,8 +19,7 @@
 #include "pthreadP.h"
 
 int
-pthread_spin_lock (lock)
-     pthread_spinlock_t *lock;
+pthread_spin_lock (pthread_spinlock_t *lock)
 {
   int oldval;
 
index 144cc77051d4e429509dfd73fedddee68abfc19f..210a2c6500dcb6fa472ba81ad657fa2af9e937ba 100644 (file)
@@ -20,8 +20,7 @@
 #include "pthreadP.h"
 
 int
-pthread_spin_trylock (lock)
-     pthread_spinlock_t *lock;
+pthread_spin_trylock (pthread_spinlock_t *lock)
 {
   int old;
 
index 1bb439d9164a57d864407cefea94d57228ea1272..d22002345b242e70eec5172f588632a6ca8d3122 100644 (file)
@@ -18,8 +18,7 @@
 #include "pthreadP.h"
 
 int
-pthread_spin_lock (lock)
-     pthread_spinlock_t *lock;
+pthread_spin_lock (pthread_spinlock_t *lock)
 {
   unsigned int val;
 
index e8044a757c2f14a5dbb9d79ed403498cb559e90f..d6fec348f95547d791b4a74dd33baeaf6b563580 100644 (file)
@@ -22,8 +22,7 @@
 #include <sparc-nptl.h>
 
 int
-pthread_barrier_destroy (barrier)
-     pthread_barrier_t *barrier;
+pthread_barrier_destroy (pthread_barrier_t *barrier)
 {
   union sparc_pthread_barrier *ibarrier;
   int result = EBUSY;
index 9e9806a31a51d7e29ac280afa3b2e035292017e7..cb0aa469de8430931580bfa1da6a67321cdbbce9 100644 (file)
@@ -25,8 +25,7 @@
 
 /* Wait on barrier.  */
 int
-__pthread_barrier_wait (barrier)
-     pthread_barrier_t *barrier;
+__pthread_barrier_wait (pthread_barrier_t *barrier)
 {
   union sparc_pthread_barrier *ibarrier
     = (union sparc_pthread_barrier *) barrier;
index 587fd1ee6a12614ab208c81a32c6fa17232fcd84..1defe1d8dc1daa25a6ec93500118da661045ac37 100644 (file)
@@ -24,8 +24,7 @@
 
 /* Return the square root of X.  */
 double
-__ieee754_sqrt (x)
-     double x;
+__ieee754_sqrt (double x)
 {
   register double result;
   asm ("fsqrtd %1, %0" : "=f" (result) : "f" (x));
index 5e1aa1159c635905e44ab4afc19482bbfda024c2..33f9e9a67932c938708c96f70c27769e7cbb723a 100644 (file)
@@ -25,8 +25,7 @@
 
 /* Wait on barrier.  */
 int
-__pthread_barrier_wait (barrier)
-     pthread_barrier_t *barrier;
+__pthread_barrier_wait (pthread_barrier_t *barrier)
 {
   union sparc_pthread_barrier *ibarrier
     = (union sparc_pthread_barrier *) barrier;
index 1c7c455617fbb6429542540b9bca9a9c894f61e5..9911c25b3c39ad9bdf7b0f30c0965feac08feab4 100644 (file)
@@ -61,10 +61,7 @@ versioned_symbol (libpthread, __new_sem_init, sem_init, GLIBC_2_1);
 #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 (__glibc_unlikely (value > SEM_VALUE_MAX))
index 7ce924754685b775eb0d01d8f90bc32402aabe57..d27ebc381c390032ab39dcccd4ce4947c7a863d3 100644 (file)
@@ -95,10 +95,7 @@ static int memcmp_common_alignment (long, long, size_t) __THROW;
    objects (not LEN bytes!).  Both SRCP1 and SRCP2 should be aligned for
    memory operations on `op_t's.  */
 static int
-memcmp_common_alignment (srcp1, srcp2, len)
-     long int srcp1;
-     long int srcp2;
-     size_t len;
+memcmp_common_alignment (long int srcp1, long int srcp2, size_t len)
 {
   op_t a0, a1;
   op_t b0, b1;
@@ -190,10 +187,7 @@ static int memcmp_not_common_alignment (long, long, size_t) __THROW;
    `op_t' objects (not LEN bytes!).  SRCP2 should be aligned for memory
    operations on `op_t', but SRCP1 *should be unaligned*.  */
 static int
-memcmp_not_common_alignment (srcp1, srcp2, len)
-     long int srcp1;
-     long int srcp2;
-     size_t len;
+memcmp_not_common_alignment (long int srcp1, long int srcp2, size_t len)
 {
   void * srcp1i;
   op_t a0, a1, a2, a3;
@@ -300,10 +294,7 @@ memcmp_not_common_alignment (srcp1, srcp2, len)
 }
 
 int
-MEMCMP (s1, s2, len)
-     const __ptr_t s1;
-     const __ptr_t s2;
-     size_t len;
+MEMCMP (const __ptr_t s1, const __ptr_t s2, size_t len)
 {
   op_t a0;
   op_t b0;
index 80c79eb7195634cccf1b34ba2023810df3a1dcdf..1fc6831803912ea4e7cc2f0baad7973bfbb24f35 100644 (file)
    Both SRCP and DSTP should be aligned for memory operations on `op_t's.  */
 
 void
-_wordcopy_fwd_aligned (dstp, srcp, len)
-     long int dstp;
-     long int srcp;
-     size_t len;
+_wordcopy_fwd_aligned (long int dstp, long int srcp, size_t len)
 {
   op_t a0, a1;
 
@@ -156,10 +153,7 @@ _wordcopy_fwd_aligned (dstp, srcp, len)
    *not* be aligned.  */
 
 void
-_wordcopy_fwd_dest_aligned (dstp, srcp, len)
-     long int dstp;
-     long int srcp;
-     size_t len;
+_wordcopy_fwd_dest_aligned (long int dstp, long int srcp, size_t len)
 {
   void * srci;
   op_t a0, a1, a2, a3;
@@ -246,10 +240,7 @@ _wordcopy_fwd_dest_aligned (dstp, srcp, len)
    operations on `op_t's.  */
 
 void
-_wordcopy_bwd_aligned (dstp, srcp, len)
-     long int dstp;
-     long int srcp;
-     size_t len;
+_wordcopy_bwd_aligned (long int dstp, long int srcp, size_t len)
 {
   op_t a0, a1;
   long int srcp1;
@@ -357,10 +348,7 @@ _wordcopy_bwd_aligned (dstp, srcp, len)
    operations on `op_t', but SRCP must *not* be aligned.  */
 
 void
-_wordcopy_bwd_dest_aligned (dstp, srcp, len)
-     long int dstp;
-     long int srcp;
-     size_t len;
+_wordcopy_bwd_dest_aligned (long int dstp, long int srcp, size_t len)
 {
   void * srci;
   op_t a0, a1, a2, a3;
index 20aba7931ff007a75332952ff6039584b5b83fde..186bed5dffb540b5b8cf5966f6a9b7cb2de1cfa3 100644 (file)
@@ -19,8 +19,7 @@
 #include <sys/time.h>
 
 int
-ftime (timebuf)
-     struct timeb *timebuf;
+ftime (struct timeb *timebuf)
 {
   struct timeval tv;
   struct timezone tz;
index 005ec4e0debde21cb361dff60d2c33e93849e87f..8862c4cf4d930fcabb0bc5766e4d11e337a4f457 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Fill in *PARAMS with terminal parameters associated with FD.  */
 int
-gtty (fd, params)
-     int fd;
-     struct sgttyb *params;
+gtty (int fd, struct sgttyb *params)
 {
   return ioctl (fd, TIOCGETP, (void *) params);
 }
index 0f434e29a14f3cd9c986577e2044534d31322b05..a8ac0e63a1af4b2b362601f14128ba926196748c 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Set the terminal parameters associated with FD to *PARAMS.  */
 int
-stty (fd, params)
-     int fd;
-     const struct sgttyb *params;
+stty (int fd, const struct sgttyb *params)
 {
   return ioctl (fd, TIOCSETP, (void *) params);
 }
index 5f2f61442fd93beb560835f731badf6f86cf91e8..d8f346ebdf09c04962533a5e8a0499904024ab96 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Suspend or restart transmission on FD.  */
 int
-tcflow (fd, action)
-     int fd;
-     int action;
+tcflow (int fd, int action)
 {
   switch (action)
     {
index 46b4f823b2ab1eef128fd76bcace365b2eb25991..96413b93fdd094f899011f77f1cc70a6f49e1b32 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Flush pending data on FD.  */
 int
-tcflush (fd, queue_selector)
-     int fd;
-     int queue_selector;
+tcflush (int fd, int queue_selector)
 {
   int arg;
 
index 03e1d11b1222529503bf12c03a23aca8fd9b8df7..dca430eabb158fdab992c31c22d916656c87dcbe 100644 (file)
@@ -30,9 +30,7 @@
 
 /* Put the state of FD into *TERMIOS_P.  */
 int
-__tcgetattr (fd, termios_p)
-     int fd;
-     struct termios *termios_p;
+__tcgetattr (int fd, struct termios *termios_p)
 {
   return __ioctl (fd, TIOCGETA, termios_p);
 }
index ef891fee0f1b3ffb2f1c1569a9ab76ec7a567acb..59e8db366ca12ca5519278b9f874bbce658a556f 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Return the foreground process group ID of FD.  */
 pid_t
-tcgetpgrp (fd)
-     int fd;
+tcgetpgrp (int fd)
 {
   int pgrp;
 
index 2035aed76b735de88410a7b0485b23c5bdc1c2cc..470a96effe235f9f11b30e4a61592835958075f0 100644 (file)
@@ -27,9 +27,7 @@
 
 /* Send zero bits on FD.  */
 int
-tcsendbreak (fd, duration)
-     int fd;
-     int duration;
+tcsendbreak (int fd, int duration)
 {
   struct timeval delay;
 
index 7c5f6e5829af60ccceae1b74352f351b09aff9bc..17114633f0a0ac953545a845d080edb53bf0e171 100644 (file)
 
 /* Set the state of FD to *TERMIOS_P.  */
 int
-tcsetattr (fd, optional_actions, termios_p)
-     int fd;
-     int optional_actions;
-     const struct termios *termios_p;
+tcsetattr (int fd, int optional_actions, const struct termios *termios_p)
 {
   struct termios myt;
 
index a79958c77ddce4e31361d41e835db57c117659be..5e1c789def209842966ee1408c1cbc71e7556c29 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Set the foreground process group ID of FD set PGRP_ID.  */
 int
-tcsetpgrp (fd, pgrp_id)
-     int fd;
-     pid_t pgrp_id;
+tcsetpgrp (int fd, pid_t pgrp_id)
 {
   return __ioctl (fd, TIOCSPGRP, &pgrp_id);
 }
index 9f29ba3f8eeb17893f6bbafcc7442ccf16eb5bbd..fd3ed666796e750a58df851a4f830a95b860c37c 100644 (file)
@@ -24,9 +24,7 @@
 
    Returns the number of microseconds remaining before the alarm.  */
 useconds_t
-ualarm (value, interval)
-     useconds_t value;
-     useconds_t interval;
+ualarm (useconds_t value, useconds_t interval)
 {
   struct itimerval timer, otimer;
 
index 37df456834a9216d8d35e65fd053ebc061653225..c7a40967992c438d8a60921ef33191eb0854c44b 100644 (file)
    there.  If the WUNTRACED bit is set in OPTIONS, return status for stopped
    children; otherwise don't.  */
 pid_t
-__wait3 (stat_loc, options, usage)
-     __WAIT_STATUS stat_loc;
-     int options;
-     struct rusage *usage;
+__wait3 (__WAIT_STATUS stat_loc, int options, struct rusage *usage)
 {
   return __wait4 (WAIT_ANY, stat_loc, options, usage);
 }
index 8bb3de5e75c490d788f853ce394cab3db6025f66..2d90d42bfbe86d7313ca6e8c9b69432cc30186c8 100644 (file)
@@ -34,9 +34,7 @@
 STATIC
 #endif
 int
-__getlogin_r (name, name_len)
-     char *name;
-     size_t name_len;
+__getlogin_r (char *name, size_t name_len)
 {
   char tty_pathname[2 + 2 * NAME_MAX];
   char *real_tty_path = tty_pathname;
index cb73f3ae8017169f014232b1c0792f3018f1c8f0..929069d3b8c8b68886a9ce359b2826ed5871c489 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Determine wheter socket is at a out-of-band mark.  */
 int
-sockatmark (fd)
-     int fd;
+sockatmark (int fd)
 {
   int answ;
 
index 8c7eb80ebf28a734afb3648ced812c8f75858cc0..010b0bd4da8ee046ae63348cdfda32bc313817b6 100644 (file)
@@ -23,8 +23,7 @@
 /* Set the system clock to *WHEN.  */
 
 int
-stime (when)
-     const time_t *when;
+stime (const time_t *when)
 {
   struct timeval tv;
 
index 2294c80c3205bb8da9c146d137a58056c030ca34..902dca9b1c24c249a643147dec31b55a0c32a7a8 100644 (file)
@@ -23,8 +23,7 @@
 
 
 void
-_exit (status)
-     int status;
+_exit (int status)
 {
   while (1)
     {
index 6a48e6251b707d6828165070a7c302cbfe3dada8..375a329aa003802d3cffd4187b6c068e8b3733bd 100644 (file)
 
 /* Return any pending signal or wait for one for the given time.  */
 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)
 {
   siginfo_t info;
 
index f11a6f95dceacf1609e4400d4bcf7e4f49cd3306..4ecd69fc30009de5180081bcbf959e157614c0a0 100644 (file)
@@ -40,10 +40,7 @@ extern void __default_rt_sa_restorer (void);
 /* If ACT is not NULL, change the action for SIG to *ACT.
    If OACT is not NULL, put the old action for SIG in *OACT.  */
 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)
 {
   int result;
 
index 10ae62d6f98aa260c55d7b600807a8327909b8b0..4908e5649bfe99e7f2fc05f10259d79bba4e6daa 100644 (file)
 
 
 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)
 {
   if (flag & ~(AT_SYMLINK_NOFOLLOW | AT_EACCESS))
     return INLINE_SYSCALL_ERROR_RETURN_VALUE (EINVAL);
index 8df57cd3df5bcc011f746e7dc1f779788b2df0e5..228dd333ea34e9fc1a2b1cfa18a88573f363a8c1 100644 (file)
 #include <sysdep.h>
 
 int
-fchmodat (fd, file, mode, flag)
-     int fd;
-     const char *file;
-     mode_t mode;
-     int flag;
+fchmodat (int fd, const char *file, mode_t mode, int flag)
 {
   if (flag & ~AT_SYMLINK_NOFOLLOW)
     return INLINE_SYSCALL_ERROR_RETURN_VALUE (EINVAL);
index f422d95b3ff64ffe6b70f150f8c119e8dc7f66b3..da131727c8bc04f96bf975f952c7c702462cc76a 100644 (file)
@@ -28,9 +28,7 @@ static long int posix_fpathconf (int fd, int name);
 
 /* Get file-specific information about descriptor FD.  */
 long int
-__fpathconf (fd, name)
-     int fd;
-     int name;
+__fpathconf (int fd, int name)
 {
   struct statfs fsbuf;
 
index 404dd68fa9a2fbfda299096a132f0ab65aa559a7..cb02036bf0c626ae78fd8d0c8e313683339d5b3a 100644 (file)
 
 /* Return any pending signal or wait for one for the given time.  */
 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)
 {
   siginfo_t info;
 
index 26e46927009c69c63ee9c2f4930dc0ef80d46797..7896612a5ea4fc5ba9d3836e584d15d144b1ac7c 100644 (file)
@@ -26,8 +26,7 @@
 
 #ifdef SET_PROCEDURE
 int
-sethostid (id)
-     long int id;
+sethostid (long int id)
 {
   int fd;
   ssize_t written;
index aa61f6134dd1c60687472c17dc8d568a009e9d13..edfe0c68ddd229bbe431de527974628ca616fb6f 100644 (file)
@@ -32,9 +32,7 @@ static int getlogin_r_fd0 (char *name, size_t namesize);
 
 int
 attribute_hidden
-__getlogin_r_loginuid (name, namesize)
-     char *name;
-     size_t namesize;
+__getlogin_r_loginuid (char *name, size_t namesize)
 {
   int fd = open_not_cancel_2 ("/proc/self/loginuid", O_RDONLY);
   if (fd == -1)
@@ -109,9 +107,7 @@ __getlogin_r_loginuid (name, namesize)
    code.  Otherwise return 0.  */
 
 int
-__getlogin_r (name, namesize)
-     char *name;
-     size_t namesize;
+__getlogin_r (char *name, size_t namesize)
 {
   int res = __getlogin_r_loginuid (name, namesize);
   if (res >= 0)
index d4b5745ef7587a7f82b618ad5430539014149ab6..0c2367caa8a1a783eb089ec99ba7e6dbe7d571ee 100644 (file)
@@ -35,8 +35,7 @@ int __bsd_getpt (void);
 
 /* Open a master pseudo terminal and return its file descriptor.  */
 int
-__posix_openpt (oflag)
-     int oflag;
+__posix_openpt (int oflag)
 {
   static int have_no_dev_ptmx;
   int fd;
index 80fad302554de3d024d80c0b6e283aa948e997fa..97a4e1ca6db95e30738200a76921d0426830536f 100644 (file)
@@ -25,8 +25,7 @@
 # include <internaltypes.h>
 # include <shlib-compat.h>
 int
-__pthread_cond_broadcast (cond)
-     pthread_cond_t *cond;
+__pthread_cond_broadcast (pthread_cond_t *cond)
 {
   cond_compat_check_and_clear (cond);
   return __pthread_cond_broadcast_internal (cond);
index 21b9ab37c214c7c090992251e5d074651eadb06b..14007fa0966d2b952df7fb3a9d1ab409a58007bb 100644 (file)
@@ -25,8 +25,7 @@
 # include <internaltypes.h>
 # include <shlib-compat.h>
 int
-__pthread_cond_destroy (cond)
-     pthread_cond_t *cond;
+__pthread_cond_destroy (pthread_cond_t *cond)
 {
   cond_compat_check_and_clear (cond);
   return __pthread_cond_destroy_internal (cond);
index 86938c82587aa3bfae6d96a0ea17043ee8b8b3ee..31a87d21d77c8e3d2339c8d966952b7033d60c5f 100644 (file)
@@ -25,9 +25,7 @@
 # include <internaltypes.h>
 # include <shlib-compat.h>
 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)
 {
   cond_compat_clear (cond);
   return __pthread_cond_init_internal (cond, cond_attr);
index 06ac33f8d8631fa723f6ea04a9f9fde108062680..0276fd7148e3f1d8ea23fbb97273cfe6c173cbcc 100644 (file)
@@ -25,8 +25,7 @@
 # include <internaltypes.h>
 # include <shlib-compat.h>
 int
-__pthread_cond_signal (cond)
-     pthread_cond_t *cond;
+__pthread_cond_signal (pthread_cond_t *cond)
 {
   cond_compat_check_and_clear (cond);
   return __pthread_cond_signal_internal (cond);
index 5e1506f0022d128783c86c2bfd171b5ac46b8f1e..b707dc24dd8104be8e94f52f7f845b98b5e007ca 100644 (file)
@@ -25,9 +25,7 @@
 # include <internaltypes.h>
 # include <shlib-compat.h>
 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)
 {
   cond_compat_check_and_clear (cond);
   return __pthread_cond_wait_internal (cond, mutex);
index 255b867b285e87691070743747f7e2f91569b058..039eb6383eb7ecd076870e2401122ea54912166a 100644 (file)
 
 #ifdef __NR_getpmsg
 int
-getmsg (fildes, ctlptr, dataptr, flagsp)
-     int fildes;
-     struct strbuf *ctlptr;
-     struct strbuf *dataptr;
-     int *flagsp;
+getmsg (int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *flagsp)
 {
   return INLINE_SYSCALL (getpmsg, 5, fildes, ctlptr, dataptr, NULL, flagsp);
 }
index c74e9828067e4424d24e5fb4c4c1b4e210c3bf7f..f3b12f9745887f0123177dcd27da3e4b30f26e08 100644 (file)
@@ -21,8 +21,7 @@
 
 
 int
-setegid (gid)
-     gid_t gid;
+setegid (gid_t gid)
 {
   int result;
 
index 0967b2c358956f05c762cdc9f9a33d78f6a49507..2c2b4788a3ad9e74277607b8ce02f4ddabc272f7 100644 (file)
 /* If ACT is not NULL, change the action for SIG to *ACT.
    If OACT is not NULL, put the old action for SIG in *OACT.  */
 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)
 {
   /* XXX The size argument hopefully will have to be changed to the
      real size of the user-level sigset_t.  */
index f426368d8a48444d9517e93c0f99f52958834b0c..f164756cd5037110b38fbfc2098fcf7f9fcf7c2f 100644 (file)
@@ -28,8 +28,7 @@
 /* Change the set of blocked signals to SET,
    wait until a signal arrives, and restore the set of blocked signals.  */
 int
-sigpending (set)
-     sigset_t *set;
+sigpending (sigset_t *set)
 {
   /* XXX The size argument hopefully will have to be changed to the
      real size of the user-level sigset_t.  */
index c3c53642d719a9362ca1e82c7fa828b3ee5ca46e..97a182fd1f96aed9ea8bf5e958d1fb1f684cb640 100644 (file)
 
 /* Get and/or change the set of blocked signals.  */
 int
-__sigprocmask (how, set, oset)
-     int how;
-     const sigset_t *set;
-     sigset_t *oset;
+__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
 {
 
   /* XXX The size argument hopefully will have to be changed to the
index a7d811f04dc55aca6117b7c8c0d1bcf444fe11f9..eef0eeff21140e1cb5ad4c40184dfbec226573b6 100644 (file)
@@ -43,10 +43,7 @@ static void restore (void) asm ("__restore");
 /* If ACT is not NULL, change the action for SIG to *ACT.
    If OACT is not NULL, put the old action for SIG in *OACT.  */
 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)
 {
   int result;
 
index ca8932ca8ad6f265bc273b33dca59ef0ae2d305c..a206b84672af9c81498f933332470797a152396b 100644 (file)
@@ -28,9 +28,7 @@
    parameter describes how to proceed with clashing of key values.  */
 
 int
-msgget (key, msgflg)
-     key_t key;
-     int msgflg;
+msgget (key_t key, int msgflg)
 {
   return INLINE_SYSCALL (ipc, 5, IPCOP_msgget, key, msgflg, 0, NULL);
 }
index 9ba5b768e26e96e941fd07456fe2e4b28ed36acf..54b569c2e861ed8e15673bea2373bdb9ffb9d842 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Truncate the file referenced by FD to LENGTH bytes.  */
 int
-__ftruncate64 (fd, length)
-     int fd;
-     off64_t length;
+__ftruncate64 (int fd, off64_t length)
 {
   /* On PPC32 64bit values are aligned in odd/even register pairs.  */
   int result = INLINE_SYSCALL (ftruncate64, 4, fd, 0,
index deb7004ce7c44d59101c8148d78a1a9034bfb061..52bbff1d5fbfa76795286d2e653a36e0ce12e5e2 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Truncate the file referenced by FD to LENGTH bytes.  */
 int
-truncate64 (path, length)
-     const char *path;
-     off64_t length;
+truncate64 (const char *path, off64_t length)
 {
   /* On PPC32 64bit values are aligned in odd/even register pairs.  */
   int result = INLINE_SYSCALL (truncate64, 4, path, 0,
index 307b9dca08368fa76fc4c488df933d178bb947a5..1025f9ea1600d61cd3678ff5275e0976df9f20cc 100644 (file)
@@ -23,8 +23,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
index 3ec1a5e73ec90c666bcb848c0d956d63e7f926db..82b793e09f58a079061c60357df5f14ded59cda0 100644 (file)
@@ -24,9 +24,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;
 
index 88ad8a104b1357763aa7f173988a180dfff5c778..43444b911b35b654ac32fbaad96c71b536a6393c 100644 (file)
 
 
 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;
 
index db185527aa3ed19c236ea2c468b1d8b3e98ba483..c3825ebb2f0643475cf949bc31d7aff73b4598c6 100644 (file)
@@ -28,9 +28,7 @@
 
 
 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;
 
index 764bda192d8f2f8b3967eb6406dc28f021374395..3d792318e7a783c0291f94381a653c808575a49f 100644 (file)
 
 
 int
-pthread_sigmask (how, newmask, oldmask)
-     int how;
-     const sigset_t *newmask;
-     sigset_t *oldmask;
+pthread_sigmask (int how, const sigset_t *newmask, sigset_t *oldmask)
 {
   sigset_t local_newmask;
 
index 37830ce838573d6e8fc497fb3f8a52be169f3665..95ac4da29b42f18ce664ba70459679109e291947 100644 (file)
 
 
 int
-pthread_sigqueue (threadid, signo, value)
-     pthread_t threadid;
-     int signo;
-     const union sigval value;
+pthread_sigqueue (pthread_t threadid, int signo, const union sigval value)
 {
 #ifdef __NR_rt_tgsigqueueinfo
   struct pthread *pd = (struct pthread *) threadid;
index e2810634d6002faab360b760fc0b1babefc408f0..bfcec8630a994deffa91e510857ed7b367cd6dba 100644 (file)
@@ -24,8 +24,7 @@
 
 
 int
-raise (sig)
-     int sig;
+raise (int sig)
 {
   struct pthread *pd = THREAD_SELF;
   pid_t pid = THREAD_GETMEM (pd, pid);
index 5f5e8363649ff2ed50384f2ca8c752aa62167d7c..73f79170faa41e99f6d8cb8f33067c85c9ce8497 100644 (file)
 /* If ACT is not NULL, change the action for SIG to *ACT.
    If OACT is not NULL, put the old action for SIG in *OACT.  */
 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)
 {
   /* XXX The size argument hopefully will have to be changed to the
      real size of the user-level sigset_t.  */
index 173c775cc8e4f98d64a83ee8d2b9d95e87335002..d39bcebf7410f0eb96e265a2f069a4dcec7177a2 100644 (file)
@@ -28,8 +28,7 @@
 /* Change the set of blocked signals to SET,
    wait until a signal arrives, and restore the set of blocked signals.  */
 int
-sigpending (set)
-     sigset_t *set;
+sigpending (sigset_t *set)
 {
   /* XXX The size argument hopefully will have to be changed to the
      real size of the user-level sigset_t.  */
index ef7db5c7157d8953ecf876823beca63e5d75a274..ca0c58a42fe443fe38036b3b2b08facddb858fcc 100644 (file)
 
 /* Get and/or change the set of blocked signals.  */
 int
-__sigprocmask (how, set, oset)
-     int how;
-     const sigset_t *set;
-     sigset_t *oset;
+__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
 {
 
   /* XXX The size argument hopefully will have to be changed to the
index 7221ff22d86f86b51f65d64f5496d17541a978cb..29ca0ae52a2d9eff4c522742ccde76a878e47ce7 100644 (file)
    KEY.  */
 
 int
-semget (key, nsems, semflg)
-     key_t key;
-     int nsems;
-     int semflg;
+semget (key_t key, int nsems, int semflg)
 {
   return INLINE_SYSCALL (ipc, 5, IPCOP_semget, key, nsems, semflg, NULL);
 }
index dc936be856c41259723ff0980c7e5ab8056941be..18a292876b054ec31e788ea716cc6b4955028596 100644 (file)
 /* Perform user-defined atomical operation of array of semaphores.  */
 
 int
-semop (semid, sops, nsops)
-     int semid;
-     struct sembuf *sops;
-     size_t nsops;
+semop (int semid, struct sembuf *sops, size_t nsops)
 {
   return INLINE_SYSCALL (ipc, 5, IPCOP_semop, semid, (int) nsops, 0, sops);
 }
index 17f95cbdfc2530525bbcfcd7020eedc34c42053b..5b1f657c4f3ed4389aaede40b586963bdb1dca41 100644 (file)
@@ -25,9 +25,7 @@
    Only the super-user can increase hard limits.
    Return 0 if successful, -1 if not (and sets errno).  */
 int
-setrlimit64 (resource, rlimits)
-     enum __rlimit_resource resource;
-     const struct rlimit64 *rlimits;
+setrlimit64 (enum __rlimit_resource resource, const struct rlimit64 *rlimits)
 {
 #ifdef __ASSUME_PRLIMIT64
   return INLINE_SYSCALL (prlimit64, 4, 0, resource, rlimits, NULL);
index 69bcf77793159dd33e040704c51e0fdc07d545d0..b75bb9e23cd716acab91894881b12d19fc13c5f9 100644 (file)
    and where the segment is attached.  */
 
 void *
-shmat (shmid, shmaddr, shmflg)
-     int shmid;
-     const void *shmaddr;
-     int shmflg;
+shmat (int shmid, const void *shmaddr, int shmflg)
 {
   INTERNAL_SYSCALL_DECL(err);
   unsigned long resultvar;
index 51bad719c043936a17094b1f6d9951ad43cdb4cb..e7f4196c5ce85d9924f604ef74902392f23c3534 100644 (file)
@@ -27,8 +27,7 @@
    from the caller's data segment.  */
 
 int
-shmdt (shmaddr)
-     const void *shmaddr;
+shmdt (const void *shmaddr)
 {
   return INLINE_SYSCALL (ipc, 5, IPCOP_shmdt, 0, 0, 0, (void *) shmaddr);
 }
index b3d74e69e50217d09d17e278b54bf1df5f874065..0cc2650602830f225ca359e0a8de68ec615cda7a 100644 (file)
    which is associated with KEY.  */
 
 int
-shmget (key, size, shmflg)
-     key_t key;
-     size_t size;
-     int shmflg;
+shmget (key_t key, size_t size, int shmflg)
 {
   return INLINE_SYSCALL (ipc, 5, IPCOP_shmget, key, size, shmflg, NULL);
 }
index 66081d4d7fc9cf648b19feba2fcf239ec4f4af4f..c95bc75a3c8cdf60c0f81cf05b14306ad6a7fd49 100644 (file)
 /* If ACT is not NULL, change the action for SIG to *ACT.
    If OACT is not NULL, put the old action for SIG in *OACT.  */
 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)
 {
   int result;
 
index c8f3a8e395d46e285a2ea3786b1a3712bb9c4a6b..df9c926560d5fc9160275dcc7097cefd00f198f9 100644 (file)
@@ -26,8 +26,7 @@
 /* Change the set of blocked signals to SET,
    wait until a signal arrives, and restore the set of blocked signals.  */
 int
-sigpending (set)
-     sigset_t *set;
+sigpending (sigset_t *set)
 {
   return INLINE_SYSCALL (rt_sigpending, 2, set, _NSIG / 8);
 }
index 574f0d22323b31fc8602c1e397a8f3cc92d39e94..c0eca99b9c1f7fcf43058580adf619fca3ce8fb9 100644 (file)
 
 /* Get and/or change the set of blocked signals.  */
 int
-__sigprocmask (how, set, oset)
-     int how;
-     const sigset_t *set;
-     sigset_t *oset;
+__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
 {
 #ifdef SIGCANCEL
   sigset_t local_newmask;
index 7970a7c9979cbcad34a9fbd9122adc2faa382272..cf8a79aae79f1a4b27ef5510fc308aceff092d24 100644 (file)
 #ifdef __NR_rt_sigqueueinfo
 /* Return any pending signal or wait for one for the given time.  */
 int
-__sigqueue (pid, sig, val)
-     pid_t pid;
-     int sig;
-     const union sigval val;
+__sigqueue (pid_t pid, int sig, const union sigval val)
 {
   siginfo_t info;
 
index e5e07ec04c32fc64ed3dfdd468b5a8e808f6f6af..2d86b0335a2c120d29372ace07f1d7e4d6626af8 100644 (file)
@@ -24,9 +24,7 @@
 
 #ifdef __NR_sigaltstack
 int
-sigstack (ss, oss)
-     struct sigstack *ss;
-     struct sigstack *oss;
+sigstack (struct sigstack *ss, struct sigstack *oss)
 {
   stack_t sas;
   stack_t *sasp = NULL;
index 61b5089d0e499d32d09918133bb96a14a24ba8d2..8e1c8a6594e557f6a5d50f1ee6d0fbee63459fec 100644 (file)
@@ -25,8 +25,7 @@
 /* Change the set of blocked signals to SET,
    wait until a signal arrives, and restore the set of blocked signals.  */
 int
-sigpending (set)
-     sigset_t *set;
+sigpending (sigset_t *set)
 {
   /* XXX The size argument hopefully will have to be changed to the
      real size of the user-level sigset_t.  */
index 74ccf55c5364c98c64729dcb4d88cbf021c5dafd..db7d0fdb40e783c96fca6df6dc1fe4ad768b1452 100644 (file)
 
 /* Get and/or change the set of blocked signals.  */
 int
-__sigprocmask (how, set, oset)
-     int how;
-     const sigset_t *set;
-     sigset_t *oset;
+__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
 {
   /* XXX The size argument hopefully will have to be changed to the
      real size of the user-level sigset_t.  */
index 43f1e77d6286febcee6538a81fe15e1ce5ca4772..70d893f7d92d22610d12b0165274ecaa4ad39a92 100644 (file)
@@ -34,8 +34,7 @@
 
 /* Return the output baud rate stored in *TERMIOS_P.  */
 speed_t
-cfgetospeed (termios_p)
-     const struct termios *termios_p;
+cfgetospeed (const struct termios *termios_p)
 {
   return termios_p->c_cflag & (CBAUD | CBAUDEX);
 }
@@ -45,8 +44,7 @@ cfgetospeed (termios_p)
    speed, the numerical 0 is a special case for the input baud rate. It
    should set the input baud rate to the output baud rate. */
 speed_t
-cfgetispeed (termios_p)
-     const struct termios *termios_p;
+cfgetispeed (const struct termios *termios_p)
 {
   return ((termios_p->c_iflag & IBAUD0)
          ? 0 : termios_p->c_cflag & (CBAUD | CBAUDEX));
@@ -54,9 +52,7 @@ cfgetispeed (termios_p)
 
 /* Set the output baud rate stored in *TERMIOS_P to SPEED.  */
 int
-cfsetospeed  (termios_p, speed)
-     struct termios *termios_p;
-     speed_t speed;
+cfsetospeed (struct termios *termios_p, speed_t speed)
 {
   if ((speed & ~CBAUD) != 0
       && (speed < B57600 || speed > __MAX_BAUD))
@@ -78,9 +74,7 @@ libc_hidden_def (cfsetospeed)
    speed, the numerical 0 is a special case for the input baud rate.  It
    should set the input baud rate to the output baud rate.  */
 int
-cfsetispeed (termios_p, speed)
-     struct termios *termios_p;
-     speed_t speed;
+cfsetispeed (struct termios *termios_p, speed_t speed)
 {
   if ((speed & ~CBAUD) != 0
       && (speed < B57600 || speed > __MAX_BAUD))
index cbf82c9761f6cb6daef39d3b477f608d6b45ae37..c1c7163d327fa6abfdd61ea6282082f354534985 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Suspend or restart transmission on FD.  */
 int
-tcflow (fd, action)
-     int fd;
-     int action;
+tcflow (int fd, int action)
 {
   return __ioctl (fd, TCXONC, action);
 }
index 2fd81586dbff28384b4f5478b0aa2b1b3c3e9ac3..fcb334e771a3520a9cbba5e71b1acc23e3942558 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Flush pending data on FD.  */
 int
-tcflush (fd, queue_selector)
-     int fd;
-     int queue_selector;
+tcflush (int fd, int queue_selector)
 {
   return __ioctl (fd, TCFLSH, queue_selector);
 }
index 6f71b9eebd97578f06f9bc5b1aa35c5f9e519f6b..489401ef4a2360208267e9287df5d1c0fa2d4e74 100644 (file)
@@ -30,9 +30,7 @@
 
 /* Put the state of FD into *TERMIOS_P.  */
 int
-__tcgetattr (fd, termios_p)
-      int fd;
-      struct termios *termios_p;
+__tcgetattr (int fd, struct termios *termios_p)
 {
   struct __kernel_termios k_termios;
   int retval;
index 59016b5c2c2cf84626b9a54bf273d68f5ec3bb88..f7866ead98734a78f841d9af9a03a97f7835cf26 100644 (file)
 
 /* Set the state of FD to *TERMIOS_P.  */
 int
-tcsetattr (fd, optional_actions, termios_p)
-     int fd;
-     int optional_actions;
-     const struct termios *termios_p;
+tcsetattr (int fd, int optional_actions, const struct termios *termios_p)
 {
   struct __kernel_termios k_termios;
   unsigned long int cmd;
index 8ca2d2b2df9ea4122425fec140e12f80769d09ca..a20efb43639d8ad81981a778e9f35a016265d555 100644 (file)
@@ -23,8 +23,7 @@
 #ifdef __NR_time
 
 time_t
-time (t)
-     time_t *t;
+time (time_t *t)
 {
   INTERNAL_SYSCALL_DECL (err);
   time_t res = INTERNAL_SYSCALL (time, err, 1, NULL);
index 121c708bc21dd21c4484d9e22e15b47b31447c46..400030200bd18ebc5008d63a6160846c14094027 100644 (file)
 
 
 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)
 {
 #undef timer_create
   {
index 0c24dade4b390589902522974e3beee4adc2488c..1db9cbd7f3f4580edfe6764695b7535e1abf86c7 100644 (file)
@@ -29,8 +29,7 @@
 
 
 int
-timer_delete (timerid)
-     timer_t timerid;
+timer_delete (timer_t timerid)
 {
 #undef timer_delete
   struct timer *kt = (struct timer *) timerid;
index 8f0019228721a612ef0254042b2f2a66a975aafe..073f53676e4f54815f505ade7c367c7c87cb9d5b 100644 (file)
@@ -28,8 +28,7 @@
 
 
 int
-timer_getoverrun (timerid)
-     timer_t timerid;
+timer_getoverrun (timer_t timerid)
 {
 #undef timer_getoverrun
   struct timer *kt = (struct timer *) timerid;
index 79705cf5e8b10c0107d1c1385f6038ceb0819ecd..12667d9551e40d8ee2bdd26d67b4540e663c9879 100644 (file)
@@ -29,9 +29,7 @@
 
 
 int
-timer_gettime (timerid, value)
-     timer_t timerid;
-     struct itimerspec *value;
+timer_gettime (timer_t timerid, struct itimerspec *value)
 {
 #undef timer_gettime
   struct timer *kt = (struct timer *) timerid;
index c4139e899ac23708c6bf8ed6a6ac08b6fc3c98f1..6ae975892eebe0b26a7957ae69405c656299eba9 100644 (file)
@@ -28,8 +28,7 @@
 /* Change the set of blocked signals to SET,
    wait until a signal arrives, and restore the set of blocked signals.  */
 int
-sigpending (set)
-     sigset_t *set;
+sigpending (sigset_t *set)
 {
   /* XXX The size argument hopefully will have to be changed to the
      real size of the user-level sigset_t.  */
index 251a59b390d250fbcc28a2691fc72d3ccf3984e5..145508297a8c5ef89f0d1ba942e4a8b7a6321435 100644 (file)
 
 /* Get and/or change the set of blocked signals.  */
 int
-__sigprocmask (how, set, oset)
-     int how;
-     const sigset_t *set;
-     sigset_t *oset;
+__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
 {
 
   /* XXX The size argument hopefully will have to be changed to the
index 04a4e82436844fefaafceaa7ab5f496b734bf26c..49fe8ec84dd92e8140d544324b425a62373f081e 100644 (file)
@@ -92,9 +92,7 @@ backtrace_helper (struct _Unwind_Context *ctx, void *a)
 }
 
 int
-__backtrace (array, size)
-     void **array;
-     int size;
+__backtrace (void **array, int size)
 {
   struct trace_arg arg = { .array = array, .cfa = 0, .size = size, .cnt = -1 };