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

Chris Pressey cpressey at catseye.mine.nu
Fri Feb 27 17:02:37 PST 2004


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
Attachment:
zic.diff.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00006.bin
Type: application/octet-stream
Size: 5943 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20040227/5d2c166a/attachment-0018.bin>


More information about the Submit mailing list