glibc/misc
Joseph Myers f63f2bfdfa Convert 69 more function definitions to prototype style (line wrap cases).
This automatically-generated patch converts 69 function definitions in
glibc from old-style K&R to prototype-style.

This patch, covering both sysdeps and non-sysdeps files, deals with
cases where the prototype needed to be wrapped over more than one
line.  Otherwise, exclusions and caveats are as for
<https://sourceware.org/ml/libc-alpha/2015-10/msg00594.html> and
<https://sourceware.org/ml/libc-alpha/2015-10/msg00599.html>.

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

	* crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
	function definition.
	* crypt/crypt_util.c (__encrypt_r): Likewise.
	* libio/genops.c (_IO_no_init): Likewise.
	* libio/iofopncook.c (_IO_fopencookie): Likewise.
	(_IO_old_fopencookie): Likewise.
	* libio/iofwrite_u.c (fwrite_unlocked): Likewise.
	* libio/iogetline.c (_IO_getline): Likewise.
	(_IO_getline_info): Likewise.
	* libio/iogetwline.c (_IO_getwline): Likewise.
	(_IO_getwline_info): Likewise.
	* libio/vsnprintf.c (_IO_vsnprintf): Likewise.
	* libio/vswprintf.c (_IO_vswprintf): Likewise.
	* locale/programs/simple-hash.c (insert_entry_2): Likewise.
	(find_entry): Likewise.
	(iterate_table): Likewise.
	(lookup): Likewise.
	* login/forkpty.c (forkpty): Likewise.
	* misc/hsearch_r.c (__hsearch_r): Likewise.
	* misc/select.c (__select): Likewise.
	* nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
	Likewise.
	* nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
	Likewise.
	* nptl/old_pthread_cond_timedwait.c
	(__pthread_cond_timedwait_2_0): Likewise.
	* nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
	* nptl/pthread_barrierattr_getpshared.c
	(pthread_barrierattr_getpshared): Likewise.
	* nptl/pthread_getschedparam.c (__pthread_getschedparam):
	Likewise.
	* nptl/pthread_mutex_setprioceiling.c
	(pthread_mutex_setprioceiling): Likewise.
	* nptl/pthread_mutexattr_getprioceiling.c
	(pthread_mutexattr_getprioceiling): Likewise.
	* nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
	* nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
	Likewise.
	* nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
	Likewise.
	* nptl/pthread_setschedparam.c (__pthread_setschedparam):
	Likewise.
	* socket/recvfrom.c (__recvfrom): Likewise.
	* socket/sendto.c (__sendto): Likewise.
	* socket/setsockopt.c (__setsockopt): Likewise.
	* stdio-common/_itoa.c (_itoa): Likewise.
	* stdio-common/_itowa.c (_itowa): Likewise.
	* stdio-common/reg-printf.c (__register_printf_specifier):
	Likewise.
	(__register_printf_function): Likewise.
	* stdio-common/tempname.c (__path_search): Likewise.
	* stdlib/addmul_1.c (mpn_addmul_1): Likewise.
	* stdlib/mul_1.c (mpn_mul_1): Likewise.
	* stdlib/random_r.c (__initstate_r): Likewise.
	* stdlib/setenv.c (__add_to_environ): Likewise.
	* stdlib/submul_1.c (mpn_submul_1): Likewise.
	* streams/getpmsg.c (getpmsg): Likewise.
	* streams/putmsg.c (putmsg): Likewise.
	* streams/putpmsg.c (putpmsg): Likewise.
	* sunrpc/clnt_raw.c (clntraw_call): Likewise.
	* sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
	* sunrpc/clnt_udp.c (clntudp_create): Likewise.
	* sunrpc/clnt_unix.c (clntunix_call): Likewise.
	* sunrpc/pm_getport.c (pmap_getport): Likewise.
	* sunrpc/svc_udp.c (cache_get): Likewise.
	* sunrpc/xdr_array.c (xdr_vector): Likewise.
	* sysdeps/mach/hurd/getcwd.c
	(__canonicalize_directory_name_internal): Likewise.
	* sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
	* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
	* sysdeps/mach/hurd/select.c (__select): Likewise.
	* sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
	* sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
	* sysdeps/sparc/nptl/pthread_barrier_init.c
	(__pthread_barrier_init): Likewise.
	* sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
	(__pthread_cond_timedwait): Likewise.
	* sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
	* sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
	Likewise.
	* sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
	* sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
	Likewise.
	* sysvipc/semtimedop.c (semtimedop): Likewise.
	* time/setitimer.c (__setitimer): Likewise.
	* time/strftime_l.c (emacs_strftime): Likewise.
2015-10-19 21:23:47 +00:00
..
bits Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sys Use HOST_NAME_MAX for MAXHOSTNAMELEN in <sys/param.h>. 2015-09-15 15:27:58 -07:00
Makefile getmntent: fix memory corruption w/blank lines [BZ #18887] 2015-08-29 18:07:00 -04:00
Versions regexp.h: update Versions to match file usage [BZ #18681] 2015-08-18 09:28:10 -04:00
acct.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
ar.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
brk.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
bug-hsearch1.c .. 2009-01-23 20:41:36 +00:00
chflags.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
chroot.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
daemon.c Update. 2004-09-25 06:49:33 +00:00
dirname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
efgcvt.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
efgcvt_r.c Fix ecvt_r, fcvt_r namespace (bug 18522). 2015-06-12 10:11:35 +00:00
err.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
err.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
error.c Use __pthread_setcancelstate in libc.a 2015-09-17 16:38:54 -07:00
error.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fchflags.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
fdatasync.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fgetxattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
flistxattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fremovexattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fsetxattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fstab.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
fstab.h Remove pre-ISO C support 2012-01-07 23:57:22 -05:00
fsync.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
ftruncate.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
ftruncate64.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
futimes.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
futimesat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getauxval.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getclktck.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getdomain.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
getdtsz.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethostid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethostname.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
getloadavg.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpass.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getttyent.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
getusershell.c Use (void) in no-arguments function definitions. 2013-06-08 00:22:23 +00:00
getxattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gtty.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
hsearch.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
hsearch_r.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
ifunc-impl-list.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
init-misc.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
insremque.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ioctl.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
lgetxattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libgen.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
listxattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
llistxattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lremovexattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lsearch.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lsetxattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lutimes.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
madvise.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mincore.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mkdtemp.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mkostemp.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mkostemp64.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mkostemps.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mkostemps64.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mkstemp.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mkstemp64.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mkstemps.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mkstemps64.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mktemp.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mlock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mlockall.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mmap.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mmap64.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mntent.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
mntent.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mntent_r.c getmntent: fix memory corruption w/blank lines [BZ #18887] 2015-08-29 18:07:00 -04:00
mprotect.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
msync.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
munlock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
munlockall.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
munmap.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
preadv.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
preadv64.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
pselect.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ptrace.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pwritev.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
pwritev64.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
qefgcvt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
qefgcvt_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
readv.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
reboot.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
regexp.c Desupport regexp.h (bug 18681) 2015-08-16 17:34:35 +02:00
regexp.h Desupport regexp.h (bug 18681) 2015-08-16 17:34:35 +02:00
remap_file_pages.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
removexattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
revoke.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
sbrk.c Set errno to ENOMEM on overflow in sbrk (bug 18592) 2015-07-07 12:13:50 +02:00
search.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
select.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
setdomain.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
setegid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
seteuid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
sethostid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
sethostname.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
setregid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
setreuid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
setxattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sgtty.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sstk.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
stab.h Update. 1997-06-21 02:59:26 +00:00
stty.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
swapoff.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
swapon.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sync.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
syncfs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
syscall.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
syscall.h update from main archive 960107 1997-01-07 23:29:44 +00:00
sysexits.h Update. 1999-06-09 13:08:30 +00:00
syslog.c Assume that SOCK_CLOEXEC is available and works 2015-10-17 12:02:37 +02:00
syslog.h initial import 1995-02-18 01:27:10 +00:00
truncate.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
truncate64.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
tsearch.c Fix sem_* tdelete, tfind, tsearch, twalk namespace (bug 18536). 2015-06-17 20:11:58 +00:00
tst-dirname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-efgcvt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-error1.c Suppress -Wformat-security in tst-error1.c. 2014-12-11 13:52:57 -08:00
tst-fdset.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-hsearch.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-insremque.c [BZ #2766] 2006-06-17 17:01:42 +00:00
tst-mntent-blank-corrupt.c getmntent: fix memory corruption w/blank lines [BZ #18887] 2015-08-29 18:07:00 -04:00
tst-mntent-blank-passno.c getmntent: fix memory corruption w/blank lines [BZ #18887] 2015-08-29 18:07:00 -04:00
tst-mntent.c getmntent: fix memory corruption w/blank lines [BZ #18887] 2015-08-29 18:07:00 -04:00
tst-mntent2.c Fix warning in misc/tst-mntent2.c. 2014-12-16 10:27:16 +01:00
tst-pselect.c Do not use SA_NOCLDWAIT in tst-pselect. 2015-02-06 12:29:39 -08:00
tst-tsearch.c Modify several tests to use test-skeleton.c 2015-08-06 02:59:04 -04:00
ttyent.h Remove pre-ISO C support 2012-01-07 23:57:22 -05:00
ttyslot.c Fix ttyslot namespace (bug 18547). 2015-06-17 20:21:19 +00:00
ualarm.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
usleep.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
ustat.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
ustat.h Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com> 1996-07-18 08:43:26 +00:00
utimes.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
vhangup.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
writev.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00