cvs commit: src/usr.sbin/fdformat fdformat.c src/usr.sbin/gifconfig gifconfig.c src/usr.sbin/moused moused.c src/usr.sbin/setkey parse.y setkey.c test-pfkey.c test-policy.c
Chris Pressey
cpressey at crater.dragonflybsd.org
Wed Mar 24 10:24:03 PST 2004
cpressey 2004/03/24 10:23:47 PST
DragonFly src repository
Modified files:
usr.sbin/fdformat fdformat.c
usr.sbin/gifconfig gifconfig.c
usr.sbin/moused moused.c
usr.sbin/setkey parse.y setkey.c test-pfkey.c
test-policy.c
Log:
Style(9) cleanup.
- Convert K&R-style function definitions to ANSI style.
- Remove ``register'' keywords.
- (fdformat only) Remove/add whitespace around operators, add parens
after sizeof and return, use NULL instead of O for null pointer,
and remove (void) casts on ignored return values,
- Move local variable out of redundant inner block.
- Remove redundant return from end of void functions.
- *argv[] -> **argv.
- NOT REACHED -> NOTREACHED.
- Correct wording of #endif hint-comment to __DragonFly__.
Revision Changes Path
1.4 +50 -49 src/usr.sbin/fdformat/fdformat.c
1.6 +11 -11 src/usr.sbin/gifconfig/gifconfig.c
1.3 +6 -6 src/usr.sbin/moused/moused.c
1.4 +5 -11 src/usr.sbin/setkey/parse.y
1.4 +18 -29 src/usr.sbin/setkey/setkey.c
1.4 +17 -48 src/usr.sbin/setkey/test-pfkey.c
1.3 +8 -8 src/usr.sbin/setkey/test-policy.c
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/fdformat/fdformat.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/gifconfig/gifconfig.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/moused/moused.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/setkey/parse.y.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/setkey/setkey.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/setkey/test-pfkey.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/setkey/test-policy.c.diff?r1=1.2&r2=1.3&f=h
More information about the Commits
mailing list