]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty.c: further scrubbing
authorSami Kerola <kerolasa@iki.fi>
Tue, 26 Apr 2011 19:28:59 +0000 (21:28 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 27 Apr 2011 21:21:17 +0000 (23:21 +0200)
commit53d550423585a37c9d783d3d0dd74ece254239a7
treef3aaaa25213160985a0ae5dc5c3853af6f8a2ca8
parentaf0dc7d3b53dc476752b631f7d3ada5b9b6fea74
agetty.c: further scrubbing

In reply to two requests.

http://permalink.gmane.org/gmane.linux.utilities.util-linux-ng/3990
http://permalink.gmane.org/gmane.linux.utilities.util-linux-ng/3999

The scubbing consists;

o Old school introduction back to the top of the source file.
o Indentation changes.
o Removal of void casting.
o Removal of braces from single statements.
o Unified format for comments.
o Comparison with W. Venema's code from 1993 to clean few comment
  mysteries.
o Web referrals added to further explanation to near the code or
  comments which some could find difficult to understand why.
o Clean up of comments.
o FIXME items added where attention is needed.
o Make functions static.
o Functions with same argument types use same argument order.
o Get rid of classic K&R style function declarations.

Please notice that this patch _should not_ affect how program
works e.g. this has no actual code changes.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
term-utils/agetty.c