From: | Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Sun, 20 Nov 2005 04:37:49 -0800 (PST) |
swildner 2005/11/20 04:37:49 PST DragonFly src repository Modified files: lib/libc/stdlib abort.c atof.c atoi.c atol.c bsearch.c calloc.c div.c exit.c getopt.c getopt_long.c getsubopt.c heapsort.c labs.c ldiv.c malloc.c merge.c putenv.c qsort.c radixsort.c rand.c random.c strtod.c strtoq.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c Log: - Ansify function definitions. - Fix some warnings. - In function definitions, move the type on a line of its own. - Perform some style(9) cleanup. - Remove (void) casts for discarded return values. - Remove parameter names from function prototypes. In-collaboration-with: Alexey Slynko <slynko@xxxxxxxxx> Revision Changes Path 1.4 +6 -6 src/lib/libc/stdlib/abort.c 1.3 +1 -2 src/lib/libc/stdlib/atof.c 1.3 +1 -2 src/lib/libc/stdlib/atoi.c 1.3 +1 -2 src/lib/libc/stdlib/atol.c 1.5 +2 -6 src/lib/libc/stdlib/bsearch.c 1.4 +1 -3 src/lib/libc/stdlib/calloc.c 1.3 +1 -2 src/lib/libc/stdlib/div.c 1.8 +1 -2 src/lib/libc/stdlib/exit.c 1.7 +2 -2 src/lib/libc/stdlib/getopt.c 1.14 +3 -2 src/lib/libc/stdlib/getopt_long.c 1.4 +2 -3 src/lib/libc/stdlib/getsubopt.c 1.5 +2 -4 src/lib/libc/stdlib/heapsort.c 1.3 +1 -2 src/lib/libc/stdlib/labs.c 1.3 +1 -1 src/lib/libc/stdlib/ldiv.c 1.10 +31 -31 src/lib/libc/stdlib/malloc.c 1.6 +6 -13 src/lib/libc/stdlib/merge.c 1.3 +3 -4 src/lib/libc/stdlib/putenv.c 1.5 +3 -10 src/lib/libc/stdlib/qsort.c 1.5 +7 -23 src/lib/libc/stdlib/radixsort.c 1.5 +4 -4 src/lib/libc/stdlib/rand.c 1.7 +13 -16 src/lib/libc/stdlib/random.c 1.4 +5 -0 src/lib/libc/stdlib/strtod.c 1.3 +2 -5 src/lib/libc/stdlib/strtoq.c 1.3 +2 -5 src/lib/libc/stdlib/strtouq.c 1.5 +12 -12 src/lib/libc/stdlib/system.c 1.4 +3 -4 src/lib/libc/stdlib/tdelete.c 1.4 +3 -4 src/lib/libc/stdlib/tfind.c 1.5 +3 -4 src/lib/libc/stdlib/tsearch.c 1.4 +5 -7 src/lib/libc/stdlib/twalk.c http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/abort.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/atof.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/atoi.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/atol.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/bsearch.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/calloc.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/div.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/exit.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/getopt.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/getopt_long.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/getsubopt.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/heapsort.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/labs.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/ldiv.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/malloc.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/merge.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/putenv.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/qsort.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/radixsort.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/rand.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/random.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/strtod.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/strtoq.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/strtouq.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/system.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/tdelete.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/tfind.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/tsearch.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/twalk.c.diff?r1=1.3&r2=1.4&f=u