Blame SOURCES/glibc-rh1505492-prototypes-13.patch

00db10
commit f63f2bfdfaad591305863a79c4fd2c3f50015f26
00db10
Author: Joseph Myers <joseph@codesourcery.com>
00db10
Date:   Mon Oct 19 21:23:47 2015 +0000
00db10
00db10
    Convert 69 more function definitions to prototype style (line wrap cases).
00db10
    
00db10
    This automatically-generated patch converts 69 function definitions in
00db10
    glibc from old-style K&R to prototype-style.
00db10
    
00db10
    This patch, covering both sysdeps and non-sysdeps files, deals with
00db10
    cases where the prototype needed to be wrapped over more than one
00db10
    line.  Otherwise, exclusions and caveats are as for
00db10
    <https://sourceware.org/ml/libc-alpha/2015-10/msg00594.html> and
00db10
    <https://sourceware.org/ml/libc-alpha/2015-10/msg00599.html>.
00db10
    
00db10
    Tested for x86_64 and x86 (testsuite, and that installed stripped
00db10
    shared libraries are unchanged by the patch).
00db10
    
00db10
            * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
00db10
            function definition.
00db10
            * crypt/crypt_util.c (__encrypt_r): Likewise.
00db10
            * libio/genops.c (_IO_no_init): Likewise.
00db10
            * libio/iofopncook.c (_IO_fopencookie): Likewise.
00db10
            (_IO_old_fopencookie): Likewise.
00db10
            * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
00db10
            * libio/iogetline.c (_IO_getline): Likewise.
00db10
            (_IO_getline_info): Likewise.
00db10
            * libio/iogetwline.c (_IO_getwline): Likewise.
00db10
            (_IO_getwline_info): Likewise.
00db10
            * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
00db10
            * libio/vswprintf.c (_IO_vswprintf): Likewise.
00db10
            * locale/programs/simple-hash.c (insert_entry_2): Likewise.
00db10
            (find_entry): Likewise.
00db10
            (iterate_table): Likewise.
00db10
            (lookup): Likewise.
00db10
            * login/forkpty.c (forkpty): Likewise.
00db10
            * misc/hsearch_r.c (__hsearch_r): Likewise.
00db10
            * misc/select.c (__select): Likewise.
00db10
            * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
00db10
            Likewise.
00db10
            * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
00db10
            Likewise.
00db10
            * nptl/old_pthread_cond_timedwait.c
00db10
            (__pthread_cond_timedwait_2_0): Likewise.
00db10
            * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
00db10
            * nptl/pthread_barrierattr_getpshared.c
00db10
            (pthread_barrierattr_getpshared): Likewise.
00db10
            * nptl/pthread_getschedparam.c (__pthread_getschedparam):
00db10
            Likewise.
00db10
            * nptl/pthread_mutex_setprioceiling.c
00db10
            (pthread_mutex_setprioceiling): Likewise.
00db10
            * nptl/pthread_mutexattr_getprioceiling.c
00db10
            (pthread_mutexattr_getprioceiling): Likewise.
00db10
            * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
00db10
            * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
00db10
            Likewise.
00db10
            * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
00db10
            Likewise.
00db10
            * nptl/pthread_setschedparam.c (__pthread_setschedparam):
00db10
            Likewise.
00db10
            * socket/recvfrom.c (__recvfrom): Likewise.
00db10
            * socket/sendto.c (__sendto): Likewise.
00db10
            * socket/setsockopt.c (__setsockopt): Likewise.
00db10
            * stdio-common/_itoa.c (_itoa): Likewise.
00db10
            * stdio-common/_itowa.c (_itowa): Likewise.
00db10
            * stdio-common/reg-printf.c (__register_printf_specifier):
00db10
            Likewise.
00db10
            (__register_printf_function): Likewise.
00db10
            * stdio-common/tempname.c (__path_search): Likewise.
00db10
            * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
00db10
            * stdlib/mul_1.c (mpn_mul_1): Likewise.
00db10
            * stdlib/random_r.c (__initstate_r): Likewise.
00db10
            * stdlib/setenv.c (__add_to_environ): Likewise.
00db10
            * stdlib/submul_1.c (mpn_submul_1): Likewise.
00db10
            * streams/getpmsg.c (getpmsg): Likewise.
00db10
            * streams/putmsg.c (putmsg): Likewise.
00db10
            * streams/putpmsg.c (putpmsg): Likewise.
00db10
            * sunrpc/clnt_raw.c (clntraw_call): Likewise.
00db10
            * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
00db10
            * sunrpc/clnt_udp.c (clntudp_create): Likewise.
00db10
            * sunrpc/clnt_unix.c (clntunix_call): Likewise.
00db10
            * sunrpc/pm_getport.c (pmap_getport): Likewise.
00db10
            * sunrpc/svc_udp.c (cache_get): Likewise.
00db10
            * sunrpc/xdr_array.c (xdr_vector): Likewise.
00db10
            * sysdeps/mach/hurd/getcwd.c
00db10
            (__canonicalize_directory_name_internal): Likewise.
00db10
            * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
00db10
            * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
00db10
            * sysdeps/mach/hurd/select.c (__select): Likewise.
00db10
            * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
00db10
            * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
00db10
            * sysdeps/sparc/nptl/pthread_barrier_init.c
00db10
            (__pthread_barrier_init): Likewise.
00db10
            * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
00db10
            (__pthread_cond_timedwait): Likewise.
00db10
            * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
00db10
            * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
00db10
            Likewise.
00db10
            * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
00db10
            * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
00db10
            Likewise.
00db10
            * sysvipc/semtimedop.c (semtimedop): Likewise.
00db10
            * time/setitimer.c (__setitimer): Likewise.
00db10
            * time/strftime_l.c (emacs_strftime): Likewise.
00db10
00db10
Conflicts:
00db10
	misc/hsearch_r.c
00db10
	  (Missing backport of fix for swbz#17996.)
00db10
	nptl/pthread_barrier_init.c
00db10
	  (Missing backport of fix for swbz#18544.)
00db10
	sysdeps/pthread/timer_settime.c
00db10
	  (Applied to nptl/sysdeps/pthread/timer_settime.c.)
00db10
	sysdeps/sparc/nptl/pthread_barrier_init.c
00db10
	  (Missing fix for swbz#18544.  Applied to
00db10
	  nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c.)
00db10
	sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
00db10
	  (Missing backport of d83f0734e1522a5e5ea2494565f4dcd25a86d6a0,
00db10
	  HPPA: Transition to new non-addon NPTL; files removed manually.)
00db10
	sysdeps/unix/sysv/linux/timer_settime.c
00db10
	  (Applied to nptl/sysdeps/unix/sysv/linux/timer_settime.c.)
00db10
00db10
diff --git a/crypt/crypt-entry.c b/crypt/crypt-entry.c
00db10
index 1ad36c7d05e7b7c1..647debc9ec98f3fb 100644
00db10
--- a/crypt/crypt-entry.c
00db10
+++ b/crypt/crypt-entry.c
00db10
@@ -81,10 +81,8 @@ extern struct crypt_data _ufc_foobar;
00db10
  */
00db10
 
00db10
 char *
00db10
-__crypt_r (key, salt, data)
00db10
-     const char *key;
00db10
-     const char *salt;
00db10
-     struct crypt_data * __restrict data;
00db10
+__crypt_r (const char *key, const char *salt,
00db10
+	   struct crypt_data * __restrict data)
00db10
 {
00db10
   ufc_long res[4];
00db10
   char ktab[9];
00db10
diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c
00db10
index bbb2ca2b58490e35..954bbfcfebd169b6 100644
00db10
--- a/crypt/crypt_util.c
00db10
+++ b/crypt/crypt_util.c
00db10
@@ -805,10 +805,8 @@ _ufc_output_conversion_r(v1, v2, salt, __data)
00db10
  */
00db10
 
00db10
 void
00db10
-__encrypt_r(__block, __edflag, __data)
00db10
-     char *__block;
00db10
-     int __edflag;
00db10
-     struct crypt_data * __restrict __data;
00db10
+__encrypt_r (char *__block, int __edflag,
00db10
+	     struct crypt_data * __restrict __data)
00db10
 {
00db10
   ufc_long l1, l2, r1, r2, res[4];
00db10
   int i;
00db10
diff --git a/libio/genops.c b/libio/genops.c
00db10
index bad6ec65e25de31b..09a9c2eacf1fcaea 100644
00db10
--- a/libio/genops.c
00db10
+++ b/libio/genops.c
00db10
@@ -600,12 +600,8 @@ _IO_old_init (_IO_FILE *fp, int flags)
00db10
 }
00db10
 
00db10
 void
00db10
-_IO_no_init (fp, flags, orientation, wd, jmp)
00db10
-     _IO_FILE *fp;
00db10
-     int flags;
00db10
-     int orientation;
00db10
-     struct _IO_wide_data *wd;
00db10
-     const struct _IO_jump_t *jmp;
00db10
+_IO_no_init (_IO_FILE *fp, int flags, int orientation,
00db10
+	     struct _IO_wide_data *wd, const struct _IO_jump_t *jmp)
00db10
 {
00db10
   _IO_old_init (fp, flags);
00db10
   fp->_mode = orientation;
00db10
diff --git a/libio/iofopncook.c b/libio/iofopncook.c
00db10
index d5c28f31c377905a..f1ac641ee6537fd6 100644
00db10
--- a/libio/iofopncook.c
00db10
+++ b/libio/iofopncook.c
00db10
@@ -170,10 +170,8 @@ _IO_cookie_init (struct _IO_cookie_file *cfile, int read_write,
00db10
 
00db10
 
00db10
 _IO_FILE *
00db10
-_IO_fopencookie (cookie, mode, io_functions)
00db10
-     void *cookie;
00db10
-     const char *mode;
00db10
-     _IO_cookie_io_functions_t io_functions;
00db10
+_IO_fopencookie (void *cookie, const char *mode,
00db10
+		 _IO_cookie_io_functions_t io_functions)
00db10
 {
00db10
   int read_write;
00db10
   struct locked_FILE
00db10
@@ -264,10 +262,8 @@ static const struct _IO_jump_t _IO_old_cookie_jumps libio_vtable = {
00db10
 
00db10
 _IO_FILE *
00db10
 attribute_compat_text_section
00db10
-_IO_old_fopencookie (cookie, mode, io_functions)
00db10
-     void *cookie;
00db10
-     const char *mode;
00db10
-     _IO_cookie_io_functions_t io_functions;
00db10
+_IO_old_fopencookie (void *cookie, const char *mode,
00db10
+		     _IO_cookie_io_functions_t io_functions)
00db10
 {
00db10
   _IO_FILE *ret;
00db10
 
00db10
diff --git a/libio/iofwrite_u.c b/libio/iofwrite_u.c
00db10
index a1077eeb922640d3..99b049cc37beb6de 100644
00db10
--- a/libio/iofwrite_u.c
00db10
+++ b/libio/iofwrite_u.c
00db10
@@ -30,11 +30,8 @@
00db10
 #undef fwrite_unlocked
00db10
 
00db10
 _IO_size_t
00db10
-fwrite_unlocked (buf, size, count, fp)
00db10
-     const void *buf;
00db10
-     _IO_size_t size;
00db10
-     _IO_size_t count;
00db10
-     _IO_FILE *fp;
00db10
+fwrite_unlocked (const void *buf, _IO_size_t size, _IO_size_t count,
00db10
+		 _IO_FILE *fp)
00db10
 {
00db10
   _IO_size_t request = size * count;
00db10
   _IO_size_t written = 0;
00db10
diff --git a/libio/iogetline.c b/libio/iogetline.c
00db10
index bdb35b30fbcf1bee..a521e94949c42d4e 100644
00db10
--- a/libio/iogetline.c
00db10
+++ b/libio/iogetline.c
00db10
@@ -28,12 +28,8 @@
00db10
 #include <string.h>
00db10
 
00db10
 _IO_size_t
00db10
-_IO_getline (fp, buf, n, delim, extract_delim)
00db10
-     _IO_FILE *fp;
00db10
-     char *buf;
00db10
-     _IO_size_t n;
00db10
-     int delim;
00db10
-     int extract_delim;
00db10
+_IO_getline (_IO_FILE *fp, char *buf, _IO_size_t n, int delim,
00db10
+	     int extract_delim)
00db10
 {
00db10
   return _IO_getline_info (fp, buf, n, delim, extract_delim, (int *) 0);
00db10
 }
00db10
@@ -48,13 +44,8 @@ libc_hidden_def (_IO_getline)
00db10
    If extract_delim > 0, insert delim in output. */
00db10
 
00db10
 _IO_size_t
00db10
-_IO_getline_info (fp, buf, n, delim, extract_delim, eof)
00db10
-     _IO_FILE *fp;
00db10
-     char *buf;
00db10
-     _IO_size_t n;
00db10
-     int delim;
00db10
-     int extract_delim;
00db10
-     int *eof;
00db10
+_IO_getline_info (_IO_FILE *fp, char *buf, _IO_size_t n, int delim,
00db10
+		  int extract_delim, int *eof)
00db10
 {
00db10
   char *ptr = buf;
00db10
   if (eof != NULL)
00db10
diff --git a/libio/iogetwline.c b/libio/iogetwline.c
00db10
index 63b7da67201b3f10..b14aa615e4537fda 100644
00db10
--- a/libio/iogetwline.c
00db10
+++ b/libio/iogetwline.c
00db10
@@ -33,12 +33,8 @@
00db10
 #endif
00db10
 
00db10
 _IO_size_t
00db10
-_IO_getwline (fp, buf, n, delim, extract_delim)
00db10
-     _IO_FILE *fp;
00db10
-     wchar_t *buf;
00db10
-     _IO_size_t n;
00db10
-     wint_t delim;
00db10
-     int extract_delim;
00db10
+_IO_getwline (_IO_FILE *fp, wchar_t *buf, _IO_size_t n, wint_t delim,
00db10
+	      int extract_delim)
00db10
 {
00db10
   return _IO_getwline_info (fp, buf, n, delim, extract_delim, (wint_t *) 0);
00db10
 }
00db10
@@ -52,13 +48,8 @@ _IO_getwline (fp, buf, n, delim, extract_delim)
00db10
    If extract_delim > 0, insert delim in output. */
00db10
 
00db10
 _IO_size_t
00db10
-_IO_getwline_info (fp, buf, n, delim, extract_delim, eof)
00db10
-     _IO_FILE *fp;
00db10
-     wchar_t *buf;
00db10
-     _IO_size_t n;
00db10
-     wint_t delim;
00db10
-     int extract_delim;
00db10
-     wint_t *eof;
00db10
+_IO_getwline_info (_IO_FILE *fp, wchar_t *buf, _IO_size_t n, wint_t delim,
00db10
+		   int extract_delim, wint_t *eof)
00db10
 {
00db10
   wchar_t *ptr = buf;
00db10
   if (eof != NULL)
00db10
diff --git a/libio/vsnprintf.c b/libio/vsnprintf.c
00db10
index 4e76a8c8fc035430..8711767fb1df32e8 100644
00db10
--- a/libio/vsnprintf.c
00db10
+++ b/libio/vsnprintf.c
00db10
@@ -90,11 +90,8 @@ const struct _IO_jump_t _IO_strn_jumps libio_vtable attribute_hidden =
00db10
 
00db10
 
00db10
 int
00db10
-_IO_vsnprintf (string, maxlen, format, args)
00db10
-     char *string;
00db10
-     _IO_size_t maxlen;
00db10
-     const char *format;
00db10
-     _IO_va_list args;
00db10
+_IO_vsnprintf (char *string, _IO_size_t maxlen, const char *format,
00db10
+	       _IO_va_list args)
00db10
 {
00db10
   _IO_strnfile sf;
00db10
   int ret;
00db10
diff --git a/libio/vswprintf.c b/libio/vswprintf.c
00db10
index 5cd58de2e88939d9..b42333822052fda4 100644
00db10
--- a/libio/vswprintf.c
00db10
+++ b/libio/vswprintf.c
00db10
@@ -89,11 +89,8 @@ const struct _IO_jump_t _IO_wstrn_jumps libio_vtable attribute_hidden =
00db10
 
00db10
 
00db10
 int
00db10
-_IO_vswprintf (string, maxlen, format, args)
00db10
-     wchar_t *string;
00db10
-     _IO_size_t maxlen;
00db10
-     const wchar_t *format;
00db10
-     _IO_va_list args;
00db10
+_IO_vswprintf (wchar_t *string, _IO_size_t maxlen, const wchar_t *format,
00db10
+	       _IO_va_list args)
00db10
 {
00db10
   _IO_wstrnfile sf;
00db10
   int ret;
00db10
diff --git a/locale/programs/simple-hash.c b/locale/programs/simple-hash.c
00db10
index b08e60ac72185ad9..a7e2d2bb988686a7 100644
00db10
--- a/locale/programs/simple-hash.c
00db10
+++ b/locale/programs/simple-hash.c
00db10
@@ -120,13 +120,8 @@ insert_entry (hash_table *htab, const void *key, size_t keylen, void *data)
00db10
 }
00db10
 
00db10
 static void
00db10
-insert_entry_2 (htab, key, keylen, hval, idx, data)
00db10
-     hash_table *htab;
00db10
-     const void *key;
00db10
-     size_t keylen;
00db10
-     unsigned long int hval;
00db10
-     size_t idx;
00db10
-     void *data;
00db10
+insert_entry_2 (hash_table *htab, const void *key, size_t keylen,
00db10
+		unsigned long int hval, size_t idx, void *data)
00db10
 {
00db10
   hash_entry *table = (hash_entry *) htab->table;
00db10
 
00db10
@@ -175,11 +170,8 @@ insert_entry_2 (htab, key, keylen, hval, idx, data)
00db10
 
00db10
 
00db10
 int
00db10
-find_entry (htab, key, keylen, result)
00db10
-     const hash_table *htab;
00db10
-     const void *key;
00db10
-     size_t keylen;
00db10
-     void **result;
00db10
+find_entry (const hash_table *htab, const void *key, size_t keylen,
00db10
+	    void **result)
00db10
 {
00db10
   hash_entry *table = (hash_entry *) htab->table;
00db10
   size_t idx = lookup (htab, key, keylen, compute_hashval (key, keylen));
00db10
@@ -207,12 +199,8 @@ set_entry (hash_table *htab, const void *key, size_t keylen, void *newval)
00db10
 
00db10
 
00db10
 int
00db10
-iterate_table (htab, ptr, key, keylen, data)
00db10
-     const hash_table *htab;
00db10
-     void **ptr;
00db10
-     const void **key;
00db10
-     size_t *keylen;
00db10
-     void **data;
00db10
+iterate_table (const hash_table *htab, void **ptr, const void **key,
00db10
+	       size_t *keylen, void **data)
00db10
 {
00db10
   if (*ptr == NULL)
00db10
     {
00db10
@@ -239,11 +227,8 @@ iterate_table (htab, ptr, key, keylen, data)
00db10
    [Knuth]	      The Art of Computer Programming, part3 (6.4) */
00db10
 
00db10
 static size_t
00db10
-lookup (htab, key, keylen, hval)
00db10
-     const hash_table *htab;
00db10
-     const void *key;
00db10
-     size_t keylen;
00db10
-     unsigned long int hval;
00db10
+lookup (const hash_table *htab, const void *key, size_t keylen,
00db10
+	unsigned long int hval)
00db10
 {
00db10
   unsigned long int hash;
00db10
   size_t idx;
00db10
diff --git a/login/forkpty.c b/login/forkpty.c
00db10
index e5e2873534801140..397d60dd63fc3171 100644
00db10
--- a/login/forkpty.c
00db10
+++ b/login/forkpty.c
00db10
@@ -23,11 +23,8 @@
00db10
 #include <pty.h>
00db10
 
00db10
 int
00db10
-forkpty (amaster, name, termp, winp)
00db10
-     int *amaster;
00db10
-     char *name;
00db10
-     const struct termios *termp;
00db10
-     const struct winsize *winp;
00db10
+forkpty (int *amaster, char *name, const struct termios *termp,
00db10
+	 const struct winsize *winp)
00db10
 {
00db10
   int master, slave, pid;
00db10
 
00db10
diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c
00db10
index 3509fb7b20fe524e..a71bb7d3412bf242 100644
00db10
--- a/misc/hsearch_r.c
00db10
+++ b/misc/hsearch_r.c
00db10
@@ -147,11 +147,8 @@ libc_hidden_def (hdestroy_r)
00db10
    equality of the stored and the parameter value. This helps to prevent
00db10
    unnecessary expensive calls of strcmp.  */
00db10
 int
00db10
-hsearch_r (item, action, retval, htab)
00db10
-     ENTRY item;
00db10
-     ACTION action;
00db10
-     ENTRY **retval;
00db10
-     struct hsearch_data *htab;
00db10
+hsearch_r (ENTRY item, ACTION action, ENTRY **retval,
00db10
+	   struct hsearch_data *htab)
00db10
 {
00db10
   unsigned int hval;
00db10
   unsigned int count;
00db10
diff --git a/misc/select.c b/misc/select.c
00db10
index 8f5cb0d2af26b573..f134b0453d9be90c 100644
00db10
--- a/misc/select.c
00db10
+++ b/misc/select.c
00db10
@@ -25,12 +25,8 @@
00db10
    after waiting the interval specified therein.  Returns the number of ready
00db10
    descriptors, or -1 for errors.  */
00db10
 int
00db10
-__select (nfds, readfds, writefds, exceptfds, timeout)
00db10
-     int nfds;
00db10
-     fd_set *readfds;
00db10
-     fd_set *writefds;
00db10
-     fd_set *exceptfds;
00db10
-     struct timeval *timeout;
00db10
+__select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
00db10
+	  struct timeval *timeout)
00db10
 {
00db10
   __set_errno (ENOSYS);
00db10
   return -1;
00db10
diff --git a/nptl/cleanup_defer_compat.c b/nptl/cleanup_defer_compat.c
00db10
index 88fd43ca8d8c45ab..e15723611c71d55a 100644
00db10
--- a/nptl/cleanup_defer_compat.c
00db10
+++ b/nptl/cleanup_defer_compat.c
00db10
@@ -59,9 +59,8 @@ strong_alias (_pthread_cleanup_push_defer, __pthread_cleanup_push_defer)
00db10
 
00db10
 
00db10
 void
00db10
-_pthread_cleanup_pop_restore (buffer, execute)
00db10
-     struct _pthread_cleanup_buffer *buffer;
00db10
-     int execute;
00db10
+_pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer,
00db10
+			      int execute)
00db10
 {
00db10
   struct pthread *self = THREAD_SELF;
00db10
 
00db10
diff --git a/nptl/old_pthread_cond_init.c b/nptl/old_pthread_cond_init.c
00db10
index 5ec4cf2ea3137274..38873877107fec86 100644
00db10
--- a/nptl/old_pthread_cond_init.c
00db10
+++ b/nptl/old_pthread_cond_init.c
00db10
@@ -23,9 +23,8 @@
00db10
 
00db10
 #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
00db10
 int
00db10
-__pthread_cond_init_2_0 (cond, cond_attr)
00db10
-     pthread_cond_2_0_t *cond;
00db10
-     const pthread_condattr_t *cond_attr;
00db10
+__pthread_cond_init_2_0 (pthread_cond_2_0_t *cond,
00db10
+			 const pthread_condattr_t *cond_attr)
00db10
 {
00db10
   struct pthread_condattr *icond_attr = (struct pthread_condattr *) cond_attr;
00db10
 
00db10
diff --git a/nptl/old_pthread_cond_timedwait.c b/nptl/old_pthread_cond_timedwait.c
00db10
index a8d113f9a5273c0c..fe95f96d1b8ef8e5 100644
00db10
--- a/nptl/old_pthread_cond_timedwait.c
00db10
+++ b/nptl/old_pthread_cond_timedwait.c
00db10
@@ -25,10 +25,8 @@
00db10
 
00db10
 #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
00db10
 int
00db10
-__pthread_cond_timedwait_2_0 (cond, mutex, abstime)
00db10
-     pthread_cond_2_0_t *cond;
00db10
-     pthread_mutex_t *mutex;
00db10
-     const struct timespec *abstime;
00db10
+__pthread_cond_timedwait_2_0 (pthread_cond_2_0_t *cond, pthread_mutex_t *mutex,
00db10
+			      const struct timespec *abstime)
00db10
 {
00db10
   if (cond->cond == NULL)
00db10
     {
00db10
diff --git a/nptl/pthread_barrier_init.c b/nptl/pthread_barrier_init.c
00db10
index 8cd6f0e56ee6be1b..55849b7948e34fac 100644
00db10
--- a/nptl/pthread_barrier_init.c
00db10
+++ b/nptl/pthread_barrier_init.c
00db10
@@ -29,10 +29,8 @@ static const struct pthread_barrierattr default_barrierattr =
00db10
 
00db10
 
00db10
 int
00db10
-pthread_barrier_init (barrier, attr, count)
00db10
-     pthread_barrier_t *barrier;
00db10
-     const pthread_barrierattr_t *attr;
00db10
-     unsigned int count;
00db10
+pthread_barrier_init (pthread_barrier_t *barrier,
00db10
+		      const pthread_barrierattr_t *attr, unsigned int count)
00db10
 {
00db10
   struct pthread_barrier *ibarrier;
00db10
 
00db10
diff --git a/nptl/pthread_barrierattr_getpshared.c b/nptl/pthread_barrierattr_getpshared.c
00db10
index 937d02428e52718a..dbe4893619cb17ef 100644
00db10
--- a/nptl/pthread_barrierattr_getpshared.c
00db10
+++ b/nptl/pthread_barrierattr_getpshared.c
00db10
@@ -20,9 +20,8 @@
00db10
 
00db10
 
00db10
 int
00db10
-pthread_barrierattr_getpshared (attr, pshared)
00db10
-     const pthread_barrierattr_t *attr;
00db10
-     int *pshared;
00db10
+pthread_barrierattr_getpshared (const pthread_barrierattr_t *attr,
00db10
+				int *pshared)
00db10
 {
00db10
   *pshared = ((const struct pthread_barrierattr *) attr)->pshared;
00db10
 
00db10
diff --git a/nptl/pthread_getschedparam.c b/nptl/pthread_getschedparam.c
00db10
index de81dbc068148ad5..dbff8a984196e6e4 100644
00db10
--- a/nptl/pthread_getschedparam.c
00db10
+++ b/nptl/pthread_getschedparam.c
00db10
@@ -23,10 +23,8 @@
00db10
 
00db10
 
00db10
 int
00db10
-__pthread_getschedparam (threadid, policy, param)
00db10
-     pthread_t threadid;
00db10
-     int *policy;
00db10
-     struct sched_param *param;
00db10
+__pthread_getschedparam (pthread_t threadid, int *policy,
00db10
+			 struct sched_param *param)
00db10
 {
00db10
   struct pthread *pd = (struct pthread *) threadid;
00db10
 
00db10
diff --git a/nptl/pthread_mutex_setprioceiling.c b/nptl/pthread_mutex_setprioceiling.c
00db10
index a0dcc7896305daeb..f9b5609bf10cd81a 100644
00db10
--- a/nptl/pthread_mutex_setprioceiling.c
00db10
+++ b/nptl/pthread_mutex_setprioceiling.c
00db10
@@ -23,10 +23,8 @@
00db10
 
00db10
 
00db10
 int
00db10
-pthread_mutex_setprioceiling (mutex, prioceiling, old_ceiling)
00db10
-     pthread_mutex_t *mutex;
00db10
-     int prioceiling;
00db10
-     int *old_ceiling;
00db10
+pthread_mutex_setprioceiling (pthread_mutex_t *mutex, int prioceiling,
00db10
+			      int *old_ceiling)
00db10
 {
00db10
   /* The low bits of __kind aren't ever changed after pthread_mutex_init,
00db10
      so we don't need a lock yet.  */
00db10
diff --git a/nptl/pthread_mutexattr_getprioceiling.c b/nptl/pthread_mutexattr_getprioceiling.c
00db10
index 56d103278dc44c83..2fa97d9024686e24 100644
00db10
--- a/nptl/pthread_mutexattr_getprioceiling.c
00db10
+++ b/nptl/pthread_mutexattr_getprioceiling.c
00db10
@@ -21,9 +21,8 @@
00db10
 
00db10
 
00db10
 int
00db10
-pthread_mutexattr_getprioceiling (attr, prioceiling)
00db10
-     const pthread_mutexattr_t *attr;
00db10
-     int *prioceiling;
00db10
+pthread_mutexattr_getprioceiling (const pthread_mutexattr_t *attr,
00db10
+				  int *prioceiling)
00db10
 {
00db10
   const struct pthread_mutexattr *iattr;
00db10
   int ceiling;
00db10
diff --git a/nptl/pthread_rwlock_init.c b/nptl/pthread_rwlock_init.c
00db10
index 2f6c8fad0f262778..0acd59b223984c37 100644
00db10
--- a/nptl/pthread_rwlock_init.c
00db10
+++ b/nptl/pthread_rwlock_init.c
00db10
@@ -29,9 +29,8 @@ static const struct pthread_rwlockattr default_rwlockattr =
00db10
 
00db10
 
00db10
 int
00db10
-__pthread_rwlock_init (rwlock, attr)
00db10
-     pthread_rwlock_t *rwlock;
00db10
-     const pthread_rwlockattr_t *attr;
00db10
+__pthread_rwlock_init (pthread_rwlock_t *rwlock,
00db10
+		       const pthread_rwlockattr_t *attr)
00db10
 {
00db10
   const struct pthread_rwlockattr *iattr;
00db10
 
00db10
diff --git a/nptl/pthread_rwlock_timedrdlock.c b/nptl/pthread_rwlock_timedrdlock.c
00db10
index b7622abfa2478283..59f871d0eebb1202 100644
00db10
--- a/nptl/pthread_rwlock_timedrdlock.c
00db10
+++ b/nptl/pthread_rwlock_timedrdlock.c
00db10
@@ -25,9 +25,8 @@
00db10
 
00db10
 /* Try to acquire read lock for RWLOCK or return after specfied time.  */
00db10
 int
00db10
-pthread_rwlock_timedrdlock (rwlock, abstime)
00db10
-     pthread_rwlock_t *rwlock;
00db10
-     const struct timespec *abstime;
00db10
+pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock,
00db10
+			    const struct timespec *abstime)
00db10
 {
00db10
   int result = 0;
00db10
 
00db10
diff --git a/nptl/pthread_rwlock_timedwrlock.c b/nptl/pthread_rwlock_timedwrlock.c
00db10
index 5f2399f91e884b78..e344005f1017384e 100644
00db10
--- a/nptl/pthread_rwlock_timedwrlock.c
00db10
+++ b/nptl/pthread_rwlock_timedwrlock.c
00db10
@@ -25,9 +25,8 @@
00db10
 
00db10
 /* Try to acquire write lock for RWLOCK or return after specfied time.	*/
00db10
 int
00db10
-pthread_rwlock_timedwrlock (rwlock, abstime)
00db10
-     pthread_rwlock_t *rwlock;
00db10
-     const struct timespec *abstime;
00db10
+pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock,
00db10
+			    const struct timespec *abstime)
00db10
 {
00db10
   int result = 0;
00db10
 
00db10
diff --git a/nptl/pthread_setschedparam.c b/nptl/pthread_setschedparam.c
00db10
index 15d26b4116bfc1c5..a0fa578821ceea51 100644
00db10
--- a/nptl/pthread_setschedparam.c
00db10
+++ b/nptl/pthread_setschedparam.c
00db10
@@ -24,10 +24,8 @@
00db10
 
00db10
 
00db10
 int
00db10
-__pthread_setschedparam (threadid, policy, param)
00db10
-     pthread_t threadid;
00db10
-     int policy;
00db10
-     const struct sched_param *param;
00db10
+__pthread_setschedparam (pthread_t threadid, int policy,
00db10
+			 const struct sched_param *param)
00db10
 {
00db10
   struct pthread *pd = (struct pthread *) threadid;
00db10
 
00db10
diff --git a/nptl/sysdeps/pthread/timer_settime.c b/nptl/sysdeps/pthread/timer_settime.c
00db10
index da0908b0bcad6da7..e86d0a3d231faf09 100644
00db10
--- a/nptl/sysdeps/pthread/timer_settime.c
00db10
+++ b/nptl/sysdeps/pthread/timer_settime.c
00db10
@@ -25,11 +25,8 @@
00db10
 
00db10
 /* Set timer TIMERID to VALUE, returning old value in OVLAUE.  */
00db10
 int
00db10
-timer_settime (timerid, flags, value, ovalue)
00db10
-     timer_t timerid;
00db10
-     int flags;
00db10
-     const struct itimerspec *value;
00db10
-     struct itimerspec *ovalue;
00db10
+timer_settime (timer_t timerid, int flags, const struct itimerspec *value,
00db10
+	       struct itimerspec *ovalue)
00db10
 {
00db10
   struct timer_node *timer;
00db10
   struct thread_node *thread = NULL;
00db10
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c b/nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c
00db10
index 5e3774fbd4ed3754..2782e93411ce01b8 100644
00db10
--- a/nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c
00db10
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c
00db10
@@ -21,10 +21,8 @@
00db10
 #include <lowlevellock.h>
00db10
 
00db10
 int
00db10
-pthread_barrier_init (barrier, attr, count)
00db10
-     pthread_barrier_t *barrier;
00db10
-     const pthread_barrierattr_t *attr;
00db10
-     unsigned int count;
00db10
+pthread_barrier_init (pthread_barrier_t *barrier,
00db10
+		      const pthread_barrierattr_t *attr, unsigned int count)
00db10
 {
00db10
   union sparc_pthread_barrier *ibarrier;
00db10
 
00db10
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_settime.c b/nptl/sysdeps/unix/sysv/linux/timer_settime.c
00db10
index 5b522ec75040f12c..94acc60a0f86b72c 100644
00db10
--- a/nptl/sysdeps/unix/sysv/linux/timer_settime.c
00db10
+++ b/nptl/sysdeps/unix/sysv/linux/timer_settime.c
00db10
@@ -30,11 +30,8 @@
00db10
 
00db10
 
00db10
 int
00db10
-timer_settime (timerid, flags, value, ovalue)
00db10
-     timer_t timerid;
00db10
-     int flags;
00db10
-     const struct itimerspec *value;
00db10
-     struct itimerspec *ovalue;
00db10
+timer_settime (timer_t timerid, int flags, const struct itimerspec *value,
00db10
+	       struct itimerspec *ovalue)
00db10
 {
00db10
 #undef timer_settime
00db10
   struct timer *kt = (struct timer *) timerid;
00db10
diff --git a/socket/recvfrom.c b/socket/recvfrom.c
00db10
index b99774f368501b55..f652b1478b7a6e32 100644
00db10
--- a/socket/recvfrom.c
00db10
+++ b/socket/recvfrom.c
00db10
@@ -22,13 +22,8 @@
00db10
    at address ADDR (which is ADDR_LEN bytes long).
00db10
    Returns the number read or -1 for errors.  */
00db10
 ssize_t
00db10
-__recvfrom (fd, buf, n, flags, addr, addr_len)
00db10
-     int fd;
00db10
-     void *buf;
00db10
-     size_t n;
00db10
-     int flags;
00db10
-     __SOCKADDR_ARG addr;
00db10
-     socklen_t *addr_len;
00db10
+__recvfrom (int fd, void *buf, size_t n, int flags, __SOCKADDR_ARG addr,
00db10
+	    socklen_t *addr_len)
00db10
 {
00db10
   __set_errno (ENOSYS);
00db10
   return -1;
00db10
diff --git a/socket/sendto.c b/socket/sendto.c
00db10
index ae06a54cc6947a7f..090fd000799c9347 100644
00db10
--- a/socket/sendto.c
00db10
+++ b/socket/sendto.c
00db10
@@ -21,13 +21,8 @@
00db10
 /* Send N bytes of BUF on socket FD to peer at address ADDR (which is
00db10
    ADDR_LEN bytes long).  Returns the number sent, or -1 for errors.  */
00db10
 ssize_t
00db10
-__sendto (fd, buf, n, flags, addr, addr_len)
00db10
-     int fd;
00db10
-     const __ptr_t buf;
00db10
-     size_t n;
00db10
-     int flags;
00db10
-     __CONST_SOCKADDR_ARG addr;
00db10
-     socklen_t addr_len;
00db10
+__sendto (int fd, const __ptr_t buf, size_t n, int flags,
00db10
+	  __CONST_SOCKADDR_ARG addr, socklen_t addr_len)
00db10
 {
00db10
   __set_errno (ENOSYS);
00db10
   return -1;
00db10
diff --git a/socket/setsockopt.c b/socket/setsockopt.c
00db10
index 9e1e7a3d800b4bdb..bf08491d63ff2292 100644
00db10
--- a/socket/setsockopt.c
00db10
+++ b/socket/setsockopt.c
00db10
@@ -22,12 +22,8 @@
00db10
    to *OPTVAL (which is OPTLEN bytes long).
00db10
    Returns 0 on success, -1 for errors.  */
00db10
 int
00db10
-__setsockopt (fd, level, optname, optval, optlen)
00db10
-     int fd;
00db10
-     int level;
00db10
-     int optname;
00db10
-     const __ptr_t optval;
00db10
-     socklen_t optlen;
00db10
+__setsockopt (int fd, int level, int optname, const __ptr_t optval,
00db10
+	      socklen_t optlen)
00db10
 {
00db10
   __set_errno (ENOSYS);
00db10
   return -1;
00db10
diff --git a/stdio-common/_itoa.c b/stdio-common/_itoa.c
00db10
index 67592318866b553e..dbf4c7c72f1173c8 100644
00db10
--- a/stdio-common/_itoa.c
00db10
+++ b/stdio-common/_itoa.c
00db10
@@ -191,11 +191,8 @@ _itoa_word (_ITOA_WORD_TYPE value, char *buflim,
00db10
 
00db10
 #if _ITOA_NEEDED
00db10
 char *
00db10
-_itoa (value, buflim, base, upper_case)
00db10
-     unsigned long long int value;
00db10
-     char *buflim;
00db10
-     unsigned int base;
00db10
-     int upper_case;
00db10
+_itoa (unsigned long long int value, char *buflim, unsigned int base,
00db10
+       int upper_case)
00db10
 {
00db10
   const char *digits = (upper_case
00db10
 			? _itoa_upper_digits
00db10
diff --git a/stdio-common/_itowa.c b/stdio-common/_itowa.c
00db10
index f50893dfcd79ea33..0cf3f773806dfc67 100644
00db10
--- a/stdio-common/_itowa.c
00db10
+++ b/stdio-common/_itowa.c
00db10
@@ -87,11 +87,8 @@ extern const wchar_t _itowa_upper_digits[] attribute_hidden;
00db10
 
00db10
 #if _ITOA_NEEDED
00db10
 wchar_t *
00db10
-_itowa (value, buflim, base, upper_case)
00db10
-     unsigned long long int value;
00db10
-     wchar_t *buflim;
00db10
-     unsigned int base;
00db10
-     int upper_case;
00db10
+_itowa (unsigned long long int value, wchar_t *buflim, unsigned int base,
00db10
+	int upper_case)
00db10
 {
00db10
   const wchar_t *digits = (upper_case
00db10
 			   ? _itowa_upper_digits : _itowa_lower_digits);
00db10
diff --git a/stdio-common/reg-printf.c b/stdio-common/reg-printf.c
00db10
index 30bf7dadd6343874..90d8558fca86196e 100644
00db10
--- a/stdio-common/reg-printf.c
00db10
+++ b/stdio-common/reg-printf.c
00db10
@@ -38,10 +38,8 @@ int __register_printf_function (int, printf_function,
00db10
 
00db10
 /* Register FUNC to be called to format SPEC specifiers.  */
00db10
 int
00db10
-__register_printf_specifier (spec, converter, arginfo)
00db10
-     int spec;
00db10
-     printf_function converter;
00db10
-     printf_arginfo_size_function arginfo;
00db10
+__register_printf_specifier (int spec, printf_function converter,
00db10
+			     printf_arginfo_size_function arginfo)
00db10
 {
00db10
   if (spec < 0 || spec > (int) UCHAR_MAX)
00db10
     {
00db10
@@ -79,10 +77,8 @@ weak_alias (__register_printf_specifier, register_printf_specifier)
00db10
 
00db10
 /* Register FUNC to be called to format SPEC specifiers.  */
00db10
 int
00db10
-__register_printf_function (spec, converter, arginfo)
00db10
-     int spec;
00db10
-     printf_function converter;
00db10
-     printf_arginfo_function arginfo;
00db10
+__register_printf_function (int spec, printf_function converter,
00db10
+			    printf_arginfo_function arginfo)
00db10
 {
00db10
   return __register_printf_specifier (spec, converter,
00db10
 				      (printf_arginfo_size_function*) arginfo);
00db10
diff --git a/stdio-common/tempname.c b/stdio-common/tempname.c
00db10
index d600e3708d86be6c..23b64e624b11765e 100644
00db10
--- a/stdio-common/tempname.c
00db10
+++ b/stdio-common/tempname.c
00db10
@@ -24,12 +24,8 @@
00db10
    template suitable for use in __gen_tempname into TMPL, bounded
00db10
    by TMPL_LEN. */
00db10
 int
00db10
-__path_search (tmpl, tmpl_len, dir, pfx, try_tmpdir)
00db10
-     char *tmpl;
00db10
-     size_t tmpl_len;
00db10
-     const char *dir;
00db10
-     const char *pfx;
00db10
-     int try_tmpdir;
00db10
+__path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx,
00db10
+	       int try_tmpdir)
00db10
 {
00db10
   __set_errno (ENOSYS);
00db10
   return -1;
00db10
diff --git a/stdlib/addmul_1.c b/stdlib/addmul_1.c
00db10
index 8e8342a07ff3ad5f..276a379bef7d9bf0 100644
00db10
--- a/stdlib/addmul_1.c
00db10
+++ b/stdlib/addmul_1.c
00db10
@@ -26,11 +26,8 @@ along with the GNU MP Library; see the file COPYING.LIB.  If not, see
00db10
 #include "longlong.h"
00db10
 
00db10
 mp_limb_t
00db10
-mpn_addmul_1 (res_ptr, s1_ptr, s1_size, s2_limb)
00db10
-     register mp_ptr res_ptr;
00db10
-     register mp_srcptr s1_ptr;
00db10
-     mp_size_t s1_size;
00db10
-     register mp_limb_t s2_limb;
00db10
+mpn_addmul_1 (register mp_ptr res_ptr, register mp_srcptr s1_ptr,
00db10
+	      mp_size_t s1_size, register mp_limb_t s2_limb)
00db10
 {
00db10
   register mp_limb_t cy_limb;
00db10
   register mp_size_t j;
00db10
diff --git a/stdlib/mul_1.c b/stdlib/mul_1.c
00db10
index 87ab98189aef442a..9e7fcf6f27ec779e 100644
00db10
--- a/stdlib/mul_1.c
00db10
+++ b/stdlib/mul_1.c
00db10
@@ -24,11 +24,8 @@ along with the GNU MP Library; see the file COPYING.LIB.  If not, see
00db10
 #include "longlong.h"
00db10
 
00db10
 mp_limb_t
00db10
-mpn_mul_1 (res_ptr, s1_ptr, s1_size, s2_limb)
00db10
-     register mp_ptr res_ptr;
00db10
-     register mp_srcptr s1_ptr;
00db10
-     mp_size_t s1_size;
00db10
-     register mp_limb_t s2_limb;
00db10
+mpn_mul_1 (register mp_ptr res_ptr, register mp_srcptr s1_ptr,
00db10
+	   mp_size_t s1_size, register mp_limb_t s2_limb)
00db10
 {
00db10
   register mp_limb_t cy_limb;
00db10
   register mp_size_t j;
00db10
diff --git a/stdlib/random_r.c b/stdlib/random_r.c
00db10
index 5fdf56275601075d..1c9addd32395a99c 100644
00db10
--- a/stdlib/random_r.c
00db10
+++ b/stdlib/random_r.c
00db10
@@ -227,11 +227,8 @@ weak_alias (__srandom_r, srandom_r)
00db10
    setstate so that it doesn't matter when initstate is called.
00db10
    Returns 0 on success, non-zero on failure.  */
00db10
 int
00db10
-__initstate_r (seed, arg_state, n, buf)
00db10
-     unsigned int seed;
00db10
-     char *arg_state;
00db10
-     size_t n;
00db10
-     struct random_data *buf;
00db10
+__initstate_r (unsigned int seed, char *arg_state, size_t n,
00db10
+	       struct random_data *buf)
00db10
 {
00db10
   if (buf == NULL)
00db10
     goto fail;
00db10
diff --git a/stdlib/setenv.c b/stdlib/setenv.c
00db10
index 1a4d3c203e90ff83..45efe2e3f2b157ab 100644
00db10
--- a/stdlib/setenv.c
00db10
+++ b/stdlib/setenv.c
00db10
@@ -106,11 +106,8 @@ static char **last_environ;
00db10
    to reuse values once generated for a `setenv' call since we can never
00db10
    free the strings.  */
00db10
 int
00db10
-__add_to_environ (name, value, combined, replace)
00db10
-     const char *name;
00db10
-     const char *value;
00db10
-     const char *combined;
00db10
-     int replace;
00db10
+__add_to_environ (const char *name, const char *value, const char *combined,
00db10
+		  int replace)
00db10
 {
00db10
   char **ep;
00db10
   size_t size;
00db10
diff --git a/stdlib/submul_1.c b/stdlib/submul_1.c
00db10
index 9eafe7e00b93bff3..8cad60307c3d8c75 100644
00db10
--- a/stdlib/submul_1.c
00db10
+++ b/stdlib/submul_1.c
00db10
@@ -26,11 +26,8 @@ along with the GNU MP Library; see the file COPYING.LIB.  If not, see
00db10
 #include "longlong.h"
00db10
 
00db10
 mp_limb_t
00db10
-mpn_submul_1 (res_ptr, s1_ptr, s1_size, s2_limb)
00db10
-     register mp_ptr res_ptr;
00db10
-     register mp_srcptr s1_ptr;
00db10
-     mp_size_t s1_size;
00db10
-     register mp_limb_t s2_limb;
00db10
+mpn_submul_1 (register mp_ptr res_ptr, register mp_srcptr s1_ptr,
00db10
+	      mp_size_t s1_size, register mp_limb_t s2_limb)
00db10
 {
00db10
   register mp_limb_t cy_limb;
00db10
   register mp_size_t j;
00db10
diff --git a/streams/getpmsg.c b/streams/getpmsg.c
00db10
index acb25b585f5aedb2..05d90d0801c8590d 100644
00db10
--- a/streams/getpmsg.c
00db10
+++ b/streams/getpmsg.c
00db10
@@ -19,12 +19,8 @@
00db10
 #include <stropts.h>
00db10
 
00db10
 int
00db10
-getpmsg (fildes, ctlptr, dataptr, bandp, flagsp)
00db10
-     int fildes;
00db10
-     struct strbuf *ctlptr;
00db10
-     struct strbuf *dataptr;
00db10
-     int *bandp;
00db10
-     int *flagsp;
00db10
+getpmsg (int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *bandp,
00db10
+	 int *flagsp)
00db10
 {
00db10
   __set_errno (ENOSYS);
00db10
   return -1;
00db10
diff --git a/streams/putmsg.c b/streams/putmsg.c
00db10
index 2d776bc96ab737b6..814e2a7e8c7d61a0 100644
00db10
--- a/streams/putmsg.c
00db10
+++ b/streams/putmsg.c
00db10
@@ -19,11 +19,8 @@
00db10
 #include <stropts.h>
00db10
 
00db10
 int
00db10
-putmsg (fildes, ctlptr, dataptr, flags)
00db10
-     int fildes;
00db10
-     const struct strbuf *ctlptr;
00db10
-     const struct strbuf *dataptr;
00db10
-     int flags;
00db10
+putmsg (int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr,
00db10
+	int flags)
00db10
 {
00db10
   __set_errno (ENOSYS);
00db10
   return -1;
00db10
diff --git a/streams/putpmsg.c b/streams/putpmsg.c
00db10
index c2fa820e6f2adf5b..fb9bfebf2072ecf9 100644
00db10
--- a/streams/putpmsg.c
00db10
+++ b/streams/putpmsg.c
00db10
@@ -19,12 +19,8 @@
00db10
 #include <stropts.h>
00db10
 
00db10
 int
00db10
-putpmsg (fildes, ctlptr, dataptr, band, flags)
00db10
-     int fildes;
00db10
-     const struct strbuf *ctlptr;
00db10
-     const struct strbuf *dataptr;
00db10
-     int band;
00db10
-     int flags;
00db10
+putpmsg (int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr,
00db10
+	 int band, int flags)
00db10
 {
00db10
   __set_errno (ENOSYS);
00db10
   return -1;
00db10
diff --git a/sunrpc/clnt_raw.c b/sunrpc/clnt_raw.c
00db10
index 6653ee42fbc9edbe..a149bf419b1b1d09 100644
00db10
--- a/sunrpc/clnt_raw.c
00db10
+++ b/sunrpc/clnt_raw.c
00db10
@@ -132,14 +132,8 @@ clntraw_create (u_long prog, u_long vers)
00db10
 libc_hidden_nolink_sunrpc (clntraw_create, GLIBC_2_0)
00db10
 
00db10
 static enum clnt_stat
00db10
-clntraw_call (h, proc, xargs, argsp, xresults, resultsp, timeout)
00db10
-     CLIENT *h;
00db10
-     u_long proc;
00db10
-     xdrproc_t xargs;
00db10
-     caddr_t argsp;
00db10
-     xdrproc_t xresults;
00db10
-     caddr_t resultsp;
00db10
-     struct timeval timeout;
00db10
+clntraw_call (CLIENT *h, u_long proc, xdrproc_t xargs, caddr_t argsp,
00db10
+	      xdrproc_t xresults, caddr_t resultsp, struct timeval timeout)
00db10
 {
00db10
   struct clntraw_private_s *clp = clntraw_private;
00db10
   XDR *xdrs = &clp->xdr_stream;
00db10
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
00db10
index 901820397dd56cd6..99a7101d3ac816fb 100644
00db10
--- a/sunrpc/clnt_tcp.c
00db10
+++ b/sunrpc/clnt_tcp.c
00db10
@@ -224,14 +224,9 @@ libc_hidden_nolink_sunrpc (clnttcp_create, GLIBC_2_0)
00db10
 #endif
00db10
 
00db10
 static enum clnt_stat
00db10
-clnttcp_call (h, proc, xdr_args, args_ptr, xdr_results, results_ptr, timeout)
00db10
-     CLIENT *h;
00db10
-     u_long proc;
00db10
-     xdrproc_t xdr_args;
00db10
-     caddr_t args_ptr;
00db10
-     xdrproc_t xdr_results;
00db10
-     caddr_t results_ptr;
00db10
-     struct timeval timeout;
00db10
+clnttcp_call (CLIENT *h, u_long proc, xdrproc_t xdr_args, caddr_t args_ptr,
00db10
+	      xdrproc_t xdr_results, caddr_t results_ptr,
00db10
+	      struct timeval timeout)
00db10
 {
00db10
   struct ct_data *ct = (struct ct_data *) h->cl_private;
00db10
   XDR *xdrs = &(ct->ct_xdrs);
00db10
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
00db10
index 808603c827af6f98..1e0c7d45d33d23a1 100644
00db10
--- a/sunrpc/clnt_udp.c
00db10
+++ b/sunrpc/clnt_udp.c
00db10
@@ -256,12 +256,8 @@ clntudp_bufcreate (struct sockaddr_in *raddr, u_long program, u_long version,
00db10
 libc_hidden_nolink_sunrpc (clntudp_bufcreate, GLIBC_2_0)
00db10
 
00db10
 CLIENT *
00db10
-clntudp_create (raddr, program, version, wait, sockp)
00db10
-     struct sockaddr_in *raddr;
00db10
-     u_long program;
00db10
-     u_long version;
00db10
-     struct timeval wait;
00db10
-     int *sockp;
00db10
+clntudp_create (struct sockaddr_in *raddr, u_long program, u_long version,
00db10
+		struct timeval wait, int *sockp)
00db10
 {
00db10
   return __libc_clntudp_bufcreate (raddr, program, version, wait,
00db10
 				   sockp, UDPMSGSIZE, UDPMSGSIZE, 0);
00db10
diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c
00db10
index 084669dea6819e7c..3e008353b56cf437 100644
00db10
--- a/sunrpc/clnt_unix.c
00db10
+++ b/sunrpc/clnt_unix.c
00db10
@@ -203,14 +203,9 @@ fooy:
00db10
 libc_hidden_nolink_sunrpc (clntunix_create, GLIBC_2_1)
00db10
 
00db10
 static enum clnt_stat
00db10
-clntunix_call (h, proc, xdr_args, args_ptr, xdr_results, results_ptr, timeout)
00db10
-     CLIENT *h;
00db10
-     u_long proc;
00db10
-     xdrproc_t xdr_args;
00db10
-     caddr_t args_ptr;
00db10
-     xdrproc_t xdr_results;
00db10
-     caddr_t results_ptr;
00db10
-     struct timeval timeout;
00db10
+clntunix_call (CLIENT *h, u_long proc, xdrproc_t xdr_args, caddr_t args_ptr,
00db10
+	       xdrproc_t xdr_results, caddr_t results_ptr,
00db10
+	       struct timeval timeout)
00db10
 {
00db10
   struct ct_data *ct = (struct ct_data *) h->cl_private;
00db10
   XDR *xdrs = &(ct->ct_xdrs);
00db10
diff --git a/sunrpc/pm_getport.c b/sunrpc/pm_getport.c
00db10
index f10f87250d2784d7..5c43acc0609d7377 100644
00db10
--- a/sunrpc/pm_getport.c
00db10
+++ b/sunrpc/pm_getport.c
00db10
@@ -152,11 +152,8 @@ libc_hidden_nolink_sunrpc (__libc_rpc_getport, GLIBC_PRIVATE)
00db10
  * Returns 0 if no map exists.
00db10
  */
00db10
 u_short
00db10
-pmap_getport (address, program, version, protocol)
00db10
-     struct sockaddr_in *address;
00db10
-     u_long program;
00db10
-     u_long version;
00db10
-     u_int protocol;
00db10
+pmap_getport (struct sockaddr_in *address, u_long program, u_long version,
00db10
+	      u_int protocol)
00db10
 {
00db10
   return __libc_rpc_getport (address, program, version, protocol, 5, 60);
00db10
 }
00db10
diff --git a/sunrpc/svc_udp.c b/sunrpc/svc_udp.c
00db10
index e99c97680676f509..d1c8788d20b6805c 100644
00db10
--- a/sunrpc/svc_udp.c
00db10
+++ b/sunrpc/svc_udp.c
00db10
@@ -585,11 +585,8 @@ cache_set (SVCXPRT *xprt, u_long replylen)
00db10
  * return 1 if found, 0 if not found
00db10
  */
00db10
 static int
00db10
-cache_get (xprt, msg, replyp, replylenp)
00db10
-     SVCXPRT *xprt;
00db10
-     struct rpc_msg *msg;
00db10
-     char **replyp;
00db10
-     u_long *replylenp;
00db10
+cache_get (SVCXPRT *xprt, struct rpc_msg *msg, char **replyp,
00db10
+	   u_long *replylenp)
00db10
 {
00db10
   u_int loc;
00db10
   cache_ptr ent;
00db10
diff --git a/sunrpc/xdr_array.c b/sunrpc/xdr_array.c
00db10
index a6348612788cf338..fd9d1fb42f744844 100644
00db10
--- a/sunrpc/xdr_array.c
00db10
+++ b/sunrpc/xdr_array.c
00db10
@@ -141,12 +141,8 @@ libc_hidden_nolink_sunrpc (xdr_array, GLIBC_2_0)
00db10
  * > xdr_elem: routine to XDR each element
00db10
  */
00db10
 bool_t
00db10
-xdr_vector (xdrs, basep, nelem, elemsize, xdr_elem)
00db10
-     XDR *xdrs;
00db10
-     char *basep;
00db10
-     u_int nelem;
00db10
-     u_int elemsize;
00db10
-     xdrproc_t xdr_elem;
00db10
+xdr_vector (XDR *xdrs, char *basep, u_int nelem, u_int elemsize,
00db10
+	    xdrproc_t xdr_elem)
00db10
 {
00db10
   u_int i;
00db10
   char *elptr;
00db10
diff --git a/sysdeps/mach/hurd/getcwd.c b/sysdeps/mach/hurd/getcwd.c
00db10
index 6945e4d1c5c12237..16a3a6e3a112d9fd 100644
00db10
--- a/sysdeps/mach/hurd/getcwd.c
00db10
+++ b/sysdeps/mach/hurd/getcwd.c
00db10
@@ -285,10 +285,8 @@ _hurd_canonicalize_directory_name_internal (file_t thisdir,
00db10
 }
00db10
 
00db10
 char *
00db10
-__canonicalize_directory_name_internal (thisdir, buf, size)
00db10
-     const char *thisdir;
00db10
-     char *buf;
00db10
-     size_t size;
00db10
+__canonicalize_directory_name_internal (const char *thisdir, char *buf,
00db10
+					size_t size)
00db10
 {
00db10
   char *result;
00db10
   file_t port = __file_name_lookup (thisdir, 0, 0);
00db10
diff --git a/sysdeps/mach/hurd/pselect.c b/sysdeps/mach/hurd/pselect.c
00db10
index ada99094e4e0a44d..90287f6a6dd898db 100644
00db10
--- a/sysdeps/mach/hurd/pselect.c
00db10
+++ b/sysdeps/mach/hurd/pselect.c
00db10
@@ -30,13 +30,8 @@
00db10
    SIGMASK for this call.  Returns the number of ready descriptors, or -1 for
00db10
    errors.  */
00db10
 int
00db10
-__pselect (nfds, readfds, writefds, exceptfds, timeout, sigmask)
00db10
-     int nfds;
00db10
-     fd_set *readfds;
00db10
-     fd_set *writefds;
00db10
-     fd_set *exceptfds;
00db10
-     const struct timespec *timeout;
00db10
-     const sigset_t *sigmask;
00db10
+__pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
00db10
+	   const struct timespec *timeout, const sigset_t *sigmask)
00db10
 {
00db10
   return _hurd_select (nfds, NULL,
00db10
 		       readfds, writefds, exceptfds, timeout, sigmask);
00db10
diff --git a/sysdeps/mach/hurd/recvfrom.c b/sysdeps/mach/hurd/recvfrom.c
00db10
index 3a094aa0d2c9fda1..cde89fdcfb56ca0b 100644
00db10
--- a/sysdeps/mach/hurd/recvfrom.c
00db10
+++ b/sysdeps/mach/hurd/recvfrom.c
00db10
@@ -27,13 +27,8 @@
00db10
    the sender, and store the actual size of the address in *ADDR_LEN.
00db10
    Returns the number of bytes read or -1 for errors.  */
00db10
 ssize_t
00db10
-__recvfrom (fd, buf, n, flags, addrarg, addr_len)
00db10
-     int fd;
00db10
-     void *buf;
00db10
-     size_t n;
00db10
-     int flags;
00db10
-     __SOCKADDR_ARG addrarg;
00db10
-     socklen_t *addr_len;
00db10
+__recvfrom (int fd, void *buf, size_t n, int flags, __SOCKADDR_ARG addrarg,
00db10
+	    socklen_t *addr_len)
00db10
 {
00db10
   error_t err;
00db10
   mach_port_t addrport;
00db10
diff --git a/sysdeps/mach/hurd/select.c b/sysdeps/mach/hurd/select.c
00db10
index e679637d95b18033..22f6e3b221fb8d82 100644
00db10
--- a/sysdeps/mach/hurd/select.c
00db10
+++ b/sysdeps/mach/hurd/select.c
00db10
@@ -26,12 +26,8 @@
00db10
    after waiting the interval specified therein.  Returns the number of ready
00db10
    descriptors, or -1 for errors.  */
00db10
 int
00db10
-__select (nfds, readfds, writefds, exceptfds, timeout)
00db10
-     int nfds;
00db10
-     fd_set *readfds;
00db10
-     fd_set *writefds;
00db10
-     fd_set *exceptfds;
00db10
-     struct timeval *timeout;
00db10
+__select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
00db10
+	  struct timeval *timeout)
00db10
 {
00db10
   struct timespec ts, *to;
00db10
 
00db10
diff --git a/sysdeps/posix/ttyname_r.c b/sysdeps/posix/ttyname_r.c
00db10
index bf8399d36d0e4541..7d2701da33c08624 100644
00db10
--- a/sysdeps/posix/ttyname_r.c
00db10
+++ b/sysdeps/posix/ttyname_r.c
00db10
@@ -37,14 +37,8 @@ static int getttyname_r (int fd, char *buf, size_t buflen,
00db10
 
00db10
 static int
00db10
 internal_function
00db10
-getttyname_r (fd, buf, buflen, mydev, myino, save, dostat)
00db10
-     int fd;
00db10
-     char *buf;
00db10
-     size_t buflen;
00db10
-     dev_t mydev;
00db10
-     ino_t myino;
00db10
-     int save;
00db10
-     int *dostat;
00db10
+getttyname_r (int fd, char *buf, size_t buflen, dev_t mydev, ino_t myino,
00db10
+	      int save, int *dostat)
00db10
 {
00db10
   struct stat st;
00db10
   DIR *dirstream;
00db10
diff --git a/sysdeps/unix/sysv/linux/i386/putmsg.c b/sysdeps/unix/sysv/linux/i386/putmsg.c
00db10
index a413d8ce77d2f35d..84d54744c6d38c9f 100644
00db10
--- a/sysdeps/unix/sysv/linux/i386/putmsg.c
00db10
+++ b/sysdeps/unix/sysv/linux/i386/putmsg.c
00db10
@@ -24,11 +24,8 @@
00db10
 
00db10
 #ifdef __NR_putpmsg
00db10
 int
00db10
-putmsg (fildes, ctlptr, dataptr, flags)
00db10
-     int fildes;
00db10
-     const struct strbuf *ctlptr;
00db10
-     const struct strbuf *dataptr;
00db10
-     int flags;
00db10
+putmsg (int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr,
00db10
+	int flags)
00db10
 {
00db10
   return INLINE_SYSCALL (putpmsg, 5, fildes, ctlptr, dataptr, -1, flags);
00db10
 }
00db10
diff --git a/sysdeps/unix/sysv/linux/s390/semtimedop.c b/sysdeps/unix/sysv/linux/s390/semtimedop.c
00db10
index 53b82324dcb9f7e4..5628171762561c2e 100644
00db10
--- a/sysdeps/unix/sysv/linux/s390/semtimedop.c
00db10
+++ b/sysdeps/unix/sysv/linux/s390/semtimedop.c
00db10
@@ -26,11 +26,8 @@
00db10
 /* Perform user-defined atomical operation of array of semaphores.  */
00db10
 
00db10
 int
00db10
-semtimedop (semid, sops, nsops, timeout)
00db10
-     int semid;
00db10
-     struct sembuf *sops;
00db10
-     size_t nsops;
00db10
-     const struct timespec *timeout;
00db10
+semtimedop (int semid, struct sembuf *sops, size_t nsops,
00db10
+	    const struct timespec *timeout)
00db10
 {
00db10
   return INLINE_SYSCALL (ipc, 5, IPCOP_semtimedop,
00db10
 			 semid, (int) nsops, timeout, sops);
00db10
diff --git a/sysdeps/unix/sysv/linux/semtimedop.c b/sysdeps/unix/sysv/linux/semtimedop.c
00db10
index 5a43f53975aeafcc..f9f04f5d28def4e1 100644
00db10
--- a/sysdeps/unix/sysv/linux/semtimedop.c
00db10
+++ b/sysdeps/unix/sysv/linux/semtimedop.c
00db10
@@ -26,11 +26,8 @@
00db10
 /* Perform user-defined atomical operation of array of semaphores.  */
00db10
 
00db10
 int
00db10
-semtimedop (semid, sops, nsops, timeout)
00db10
-     int semid;
00db10
-     struct sembuf *sops;
00db10
-     size_t nsops;
00db10
-     const struct timespec *timeout;
00db10
+semtimedop (int semid, struct sembuf *sops, size_t nsops,
00db10
+	    const struct timespec *timeout)
00db10
 {
00db10
   return INLINE_SYSCALL (ipc, 6, IPCOP_semtimedop,
00db10
 			 semid, (int) nsops, 0, sops,
00db10
diff --git a/sysvipc/semtimedop.c b/sysvipc/semtimedop.c
00db10
index e7c631ac94e12f6a..5d776fe2d01f8438 100644
00db10
--- a/sysvipc/semtimedop.c
00db10
+++ b/sysvipc/semtimedop.c
00db10
@@ -22,11 +22,8 @@
00db10
 /* Perform user-defined atomical operation of array of semaphores.  */
00db10
 
00db10
 int
00db10
-semtimedop (semid, sops, nsops, timeout)
00db10
-     int semid;
00db10
-     struct sembuf *sops;
00db10
-     size_t nsops;
00db10
-     const struct timespec *timeout;
00db10
+semtimedop (int semid, struct sembuf *sops, size_t nsops,
00db10
+	    const struct timespec *timeout)
00db10
 {
00db10
   __set_errno (ENOSYS);
00db10
   return -1;
00db10
diff --git a/time/setitimer.c b/time/setitimer.c
00db10
index 40880f8210adc6b8..903558767fbad824 100644
00db10
--- a/time/setitimer.c
00db10
+++ b/time/setitimer.c
00db10
@@ -23,10 +23,8 @@
00db10
    set *OLD to the old value of timer WHICH.
00db10
    Returns 0 on success, -1 on errors.  */
00db10
 int
00db10
-__setitimer (which, new, old)
00db10
-     enum __itimer_which which;
00db10
-     const struct itimerval *new;
00db10
-     struct itimerval *old;
00db10
+__setitimer (enum __itimer_which which, const struct itimerval *new,
00db10
+	     struct itimerval *old)
00db10
 {
00db10
   if (new == NULL)
00db10
     {
00db10
diff --git a/time/strftime_l.c b/time/strftime_l.c
00db10
index 873605720b837b15..0f6ac83d34d43755 100644
00db10
--- a/time/strftime_l.c
00db10
+++ b/time/strftime_l.c
00db10
@@ -1438,11 +1438,8 @@ __strftime_internal (s, maxsize, format, tp, tzset_called ut_argument
00db10
    strftime function and does not have the extra information whether the
00db10
    TP arguments comes from a `gmtime' call or not.  */
00db10
 size_t
00db10
-emacs_strftime (s, maxsize, format, tp)
00db10
-      char *s;
00db10
-      size_t maxsize;
00db10
-      const char *format;
00db10
-      const struct tm *tp;
00db10
+emacs_strftime (char *s, size_t maxsize, const char *format,
00db10
+		const struct tm *tp)
00db10
 {
00db10
   return my_strftime (s, maxsize, format, tp, 0);
00db10
 }