DragonFly commits List (threaded) for 2004-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/games/grdc grdc.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]