patch to de-K&R-ify zic(8)

Joerg Sonnenberger joerg at britannica.bec.de
Sun Feb 29 09:04:32 PST 2004


On Fri, Feb 27, 2004 at 05:07:07PM -0800, Chris Pressey wrote:
> Hi again.
> 
> The attached patch removes register keywords and K&R-style declarations
> from /usr.sbin/zic/* (it even had it's own __P()-like macro... :)
> 
> There are a lot more style(9) violations in zic, but after putting
> together a patch which addressed multiple issues, I decided that that
> way lies madness - the patch is mind-numbing enough to audit as it
> stands.  So, only the style violations that overlapped K&R function
> declarations and register variable declarations have been addressed
> (mostly just whitespace stuff like char * foo -> char *foo.)
> 
> Testing: it builds without errors, and since it contains no functional
> changes, it should be fine.  (In theory, famous last words, etc etc)
> 
> -Chris

Commited. Thanks.

Joerg





More information about the Submit mailing list