cvs commit: src/games/grdc grdc.c
Chris Pressey
cpressey at crater.dragonflybsd.org
Tue Mar 23 10:34:51 PST 2004
cpressey 2004/03/23 10:34:41 PST
DragonFly src repository
Modified files:
games/grdc grdc.c
Log:
Style(9) cleanup.
- Split deeply nested code into its own function, draw_row().
- Remove pleonastic wrapper function movto().
- Convert K&R-style function declarations to ANSI style.
- Remove (void) cast when ignoring return value.
- Fix indentation and whitespace around operators.
- Remove once-humourous comments that have now fallen out of context.
Revision Changes Path
1.3 +83 -85 src/games/grdc/grdc.c
http://www.dragonflybsd.org/cvsweb/src/games/grdc/grdc.c.diff?r1=1.2&r2=1.3&f=h
More information about the Commits
mailing list