From: | Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Sun, 20 Nov 2005 03:07:31 -0800 (PST) |
swildner 2005/11/20 03:07:31 PST DragonFly src repository Modified files: lib/libc/stdio fgetln.c fgets.c findfp.c fopen.c fread.c freopen.c fseek.c gets.c getwchar.c mktemp.c perror.c putc.c refill.c rewind.c setbuf.c setbuffer.c setvbuf.c sscanf.c stdio.c tempnam.c tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vfwprintf.c vsscanf.c vswscanf.c Log: - Ansify function definitions. - Fix some warnings. - In function definitions, move the type on a line of its own. - Remove (void) casts for discarded return values. - Use va_copy() where appropriate. In-collaboration-with: Alexey Slynko <slynko@xxxxxxxxx> Revision Changes Path 1.7 +2 -2 src/lib/libc/stdio/fgetln.c 1.7 +2 -2 src/lib/libc/stdio/fgets.c 1.10 +2 -2 src/lib/libc/stdio/findfp.c 1.6 +1 -1 src/lib/libc/stdio/fopen.c 1.7 +2 -2 src/lib/libc/stdio/fread.c 1.7 +6 -6 src/lib/libc/stdio/freopen.c 1.10 +1 -4 src/lib/libc/stdio/fseek.c 1.6 +1 -1 src/lib/libc/stdio/gets.c 1.2 +1 -1 src/lib/libc/stdio/getwchar.c 1.7 +3 -3 src/lib/libc/stdio/mktemp.c 1.7 +1 -1 src/lib/libc/stdio/perror.c 1.7 +2 -1 src/lib/libc/stdio/putc.c 1.10 +1 -1 src/lib/libc/stdio/refill.c 1.4 +1 -1 src/lib/libc/stdio/rewind.c 1.4 +1 -1 src/lib/libc/stdio/setbuf.c 1.5 +1 -1 src/lib/libc/stdio/setbuffer.c 1.7 +1 -1 src/lib/libc/stdio/setvbuf.c 1.8 +1 -1 src/lib/libc/stdio/sscanf.c 1.7 +1 -1 src/lib/libc/stdio/stdio.c 1.5 +4 -4 src/lib/libc/stdio/tempnam.c 1.4 +6 -6 src/lib/libc/stdio/tmpfile.c 1.5 +1 -1 src/lib/libc/stdio/tmpnam.c 1.8 +1 -1 src/lib/libc/stdio/ungetc.c 1.14 +7 -1 src/lib/libc/stdio/vfprintf.c 1.9 +6 -8 src/lib/libc/stdio/vfscanf.c 1.2 +1 -1 src/lib/libc/stdio/vfwprintf.c 1.9 +1 -1 src/lib/libc/stdio/vsscanf.c 1.2 +1 -1 src/lib/libc/stdio/vswscanf.c http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/fgetln.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/fgets.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/findfp.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/fopen.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/fread.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/freopen.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/fseek.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/gets.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/getwchar.c.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/mktemp.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/perror.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/putc.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/refill.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/rewind.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/setbuf.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/setbuffer.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/setvbuf.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/sscanf.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/stdio.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/tempnam.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/tmpfile.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/tmpnam.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/ungetc.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/vfprintf.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/vfscanf.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/vfwprintf.c.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/vsscanf.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/vswscanf.c.diff?r1=1.1&r2=1.2&f=u