glibc/manual/examples
Joseph Myers 41075ae3e7 Convert 29 more function definitions to prototype style (multiple parameters in one K&R parameter declaration).
This automatically-generated patch converts 29 function definitions in
glibc (including one in an example in the manual) from old-style K&R
to prototype-style.  Following my other recent such patches, this one
deals with the case of function definitions where one K&R parameter
declaration declares multiple parameters, as in:

void
foo (a, b)
     int a, *b;
{
}

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

	* crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
	definition.
	(_ufc_doit_r): Likewise.
	* crypt/crypt_util.c (_ufc_copymem): Likewise.
	(_ufc_output_conversion_r): Likewise.
	* inet/inet_mkadr.c (__inet_makeaddr): Likewise.
	* inet/rcmd.c (rcmd_af): Likewise.
	(rcmd): Likewise.
	(ruserok_af): Likewise.
	(ruserok): Likewise.
	(ruserok2_sa): Likewise.
	(ruserok_sa): Likewise.
	(iruserok_af): Likewise.
	(iruserok): Likewise.
	(__ivaliduser): Likewise.
	(__validuser2_sa): Likewise.
	* inet/rexec.c (rexec_af): Likewise.
	(rexec): Likewise.
	* inet/ruserpass.c (ruserpass): Likewise.
	* locale/programs/xmalloc.c (xcalloc): Likewise.
	* manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
	* math/w_drem.c (__drem): Likewise.
	* math/w_dremf.c (__dremf): Likewise.
	* math/w_dreml.c (__dreml): Likewise.
	* misc/daemon.c (daemon): Likewise.
	* resolv/res_debug.c (p_fqnname): Likewise.
	* stdlib/div.c (div): Likewise.
	* string/memcmp.c (memcmp_bytes): Likewise.
	* sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
	* sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2015-10-20 11:52:27 +00:00
..
add.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
argp-ex1.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
argp-ex2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
argp-ex3.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
argp-ex4.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
atexit.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
db.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dir2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dir.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
execinfo.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
filecli.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
filesrv.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fmtmsgexpl.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
genpass.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inetcli.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inetsrv.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
isockad.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
longopt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
memopen.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
memstrm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mkfsock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mkisock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mygetpass.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ofdlocks.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pipe.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
popen.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
README BZ #13792: License manual example source files under GPL. 2012-03-02 16:52:01 -08:00
rprintf.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
search.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
select.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setjmp.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigh1.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigusr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
stpcpy.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
strdupa.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
strftim.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
strncat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
subopt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
swapcontext.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
termios.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
testopt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
testpass.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timeval_subtract.c Convert 29 more function definitions to prototype style (multiple parameters in one K&R parameter declaration). 2015-10-20 11:52:27 +00:00

These are source files for example code that appears in The GNU C
Library Reference Manual.

While the manual itself is licensed under the terms of the GNU Free
Documentation License, you can use these source files on their own
under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License, or (at your
option) any later version.