glibc/posix
Joseph Myers 85231522bb Convert a few more function definitions to prototype style.
This patch converts a few more function definitions in glibc from
old-style K&R to prototype style.  This is sufficient to build and
test on x86_64 and x86 with -Wold-style-definition (I'll test on some
more architectures before proposing the actual addition of
-Wold-style-definition).

Tested for x86_64 and x86 with -Wold-style-definition in use
(testsuite - this patch affects files containing assertions).

	* io/fts.c (fts_open): Convert to prototype-style function
	definition.
	* malloc/mcheck.c (mcheck): Likewise.
	(mcheck_pedantic): Likewise.
	* posix/regexec.c (re_search_2_stub): Likewise.  Use
	internal_function.
	(re_search_internal): Likewise.
	* resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
	prototype-style function definition.
	* sunrpc/clnt_udp.c (clntudp_call): Likewise.
	* sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
	* sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
	(xdr_utmpptr): Likewise.
	(xdr_utmparr): Likewise.
	(xdr_utmpidle): Likewise.
	(xdr_utmpidleptr): Likewise.
	(xdr_utmpidlearr): Likewise.
2015-10-21 11:57:23 +00:00
..
bits
rxspencer
sys
_exit.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
alarm.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
annexc.c
BOOST.tests
bsd-getpgrp.c
bug-ga1.c
bug-ga2.c
bug-getopt1.c
bug-getopt2.c
bug-getopt3.c
bug-getopt4.c
bug-getopt5.c
bug-glob1.c
bug-glob2.c
bug-glob3.c
bug-regex1.c
bug-regex2.c
bug-regex3.c
bug-regex4.c
bug-regex5.c
bug-regex6.c
bug-regex7.c
bug-regex8.c
bug-regex9.c
bug-regex10.c
bug-regex11.c
bug-regex12.c
bug-regex13.c
bug-regex14.c
bug-regex15.c
bug-regex16.c
bug-regex17.c
bug-regex18.c
bug-regex19.c
bug-regex20.c
bug-regex21.c
bug-regex22.c
bug-regex23.c
bug-regex24.c
bug-regex25.c
bug-regex26.c
bug-regex27.c
bug-regex28.c
bug-regex29.c
bug-regex30.c
bug-regex31.c
bug-regex31.input
bug-regex32.c
bug-regex33.c
bug-regex34.c
bug-regex35.c
bug-regex36.c
confstr.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
cpio.h
Depend
environ.c
execl.c Add missing va_end calls (bug 17243) 2015-09-16 14:51:28 +02:00
execle.c Add missing va_end calls (bug 17243) 2015-09-16 14:51:28 +02:00
execlp.c Add missing va_end calls (bug 17243) 2015-09-16 14:51:28 +02:00
execv.c
execve.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
execvp.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
execvpe.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
fexecve.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
fnmatch_loop.c Convert 113 more function definitions to prototype style (files with assertions). 2015-10-20 11:54:09 +00:00
fnmatch.c Convert 113 more function definitions to prototype style (files with assertions). 2015-10-20 11:54:09 +00:00
fnmatch.h
fork.c
fpathconf.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
gai_strerror.c
gai.conf
get_child_max.c
getaddrinfo.c
getconf-speclist.c
getconf.c
getegid.c
geteuid.c
getgid.c
getgroups.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
getopt1.c
getopt_init.c
getopt_int.h
getopt.c Fix open_memstream namespace (bug 18498). 2015-06-05 23:32:46 +00:00
getopt.h
getpgid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
getpgrp.c
getpid.c
getppid.c
getresgid.c
getresuid.c
getsid.c
getuid.c
glob64.c
glob.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
glob.h
globtest.c
globtest.sh
group_member.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
init-posix.c
Makefile Do not use -Wno-strict-prototypes. 2015-10-19 21:24:50 +00:00
nanosleep.c
pathconf.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
pause.c
PCRE.tests
posix_madvise.c
posix-conf-vars.h
posix-conf-vars.list
posix-envs.def
pread64.c
pread.c
ptestcases.h
PTESTS
PTESTS2C.sed
pwrite64.c
pwrite.c
re_comp.h
regcomp.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
regex_internal.c Fix regex wcrtomb namespace (bug 18496). 2015-06-05 21:31:39 +00:00
regex_internal.h Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
regex.c
regex.h
regexbug1.c
regexec.c Convert a few more function definitions to prototype style. 2015-10-21 11:57:23 +00:00
runptests.c
runtests.c
sched_cpualloc.c
sched_cpucount.c
sched_cpufree.c
sched_getaffinity.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
sched_getp.c
sched_gets.c
sched_primax.c
sched_primin.c
sched_rr_gi.c
sched_setaffinity.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
sched_setp.c
sched_sets.c
sched_yield.c
sched.h
setgid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
setpgid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
setpgrp.c
setresgid.c
setresuid.c
setsid.c
setuid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
sleep.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
spawn_faction_addclose.c
spawn_faction_adddup2.c
spawn_faction_addopen.c
spawn_faction_destroy.c
spawn_faction_init.c
spawn_int.h
spawn.c
spawn.h
spawnattr_destroy.c
spawnattr_getdefault.c
spawnattr_getflags.c
spawnattr_getpgroup.c
spawnattr_getschedparam.c
spawnattr_getschedpolicy.c
spawnattr_getsigmask.c
spawnattr_init.c
spawnattr_setdefault.c
spawnattr_setflags.c
spawnattr_setpgroup.c
spawnattr_setschedparam.c
spawnattr_setschedpolicy.c
spawnattr_setsigmask.c
spawni.c
spawnp.c
sysconf.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
tar.h
test-vfork.c
testcases.h
testfnm.c
TESTS
TESTS2C.sed
times.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
transbug.c
tst-boost.c
tst-chmod.c
tst-cpucount.c
tst-cpuset.c
tst-dir.c
tst-exec-static.c
tst-exec.c
tst-execl1.c
tst-execl2.c
tst-execle1.c
tst-execle2.c
tst-execlp1.c
tst-execlp2.c
tst-execv1.c
tst-execv2.c
tst-execve1.c
tst-execve2.c
tst-execvp1.c
tst-execvp2.c
tst-execvp3.c
tst-execvp4.c
tst-fnmatch2.c
tst-fnmatch3.c
tst-fnmatch.c
tst-fnmatch.input
tst-fork.c
tst-getaddrinfo2.c
tst-getaddrinfo3.c
tst-getaddrinfo4.c
tst-getaddrinfo5.c
tst-getaddrinfo.c
tst-getconf.sh fix non-portable echo -n usage 2015-08-09 04:19:12 -04:00
tst-getopt_long1.c
tst-gnuglob.c
tst-mmap-offset.c Fix wordsize-32 mmap offset for negative value (BZ#18877) 2015-08-28 10:42:07 -03:00
tst-mmap.c
tst-nanosleep.c
tst-nice.c Fix BZ #18086 -- nice resets errno to 0. 2015-08-11 23:40:00 -07:00
tst-pathconf.c
tst-pcre.c
tst-preadwrite64.c
tst-preadwrite.c
tst-regex2.c
tst-regex.c
tst-regexloc.c Modify several tests to use test-skeleton.c 2015-08-06 02:59:04 -04:00
tst-rfc3484-2.c
tst-rfc3484-3.c
tst-rfc3484.c
tst-rxspencer-no-utf8.c
tst-rxspencer.c
tst-spawn-static.c
tst-spawn.c
tst-sysconf.c
tst-truncate64.c
tst-truncate.c
tst-vfork1.c
tst-vfork2.c
tst-vfork3.c
tst-waitid.c
tstgetopt.c
uname-values.h
uname.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
unistd.h
Versions Fix aio_* pread namespace (bug 18519). 2015-06-12 17:34:11 +00:00
vfork.c
wait3.c
wait4.c
wait.c
wait.h
waitid.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
waitpid.c
wordexp-test.c
wordexp-tst.sh
wordexp.c Use __pthread_setcancelstate in libc.a 2015-09-17 16:38:54 -07:00
wordexp.h