cvs commit: src/usr.bin/checknr checknr.c

Chris Pressey cpressey at catseye.mine.nu
Mon Feb 28 22:59:19 PST 2005


On Mon, 28 Feb 2005 22:54:32 -0800 (PST)
Chris Pressey <cpressey at xxxxxxxxxxxxxxxxxxxxxxx> wrote:

> cpressey    2005/02/28 22:54:32 PST
> 
> DragonFly src repository
> 
>   Modified files:
>     usr.bin/checknr      checknr.c 
>   Log:
>   Style(9):
>   - Add `static' to function prototypes and definitions;
>   - Remove `register' keyword;
>   - Rename local variables to avoid conflict with globals;
>   - Remove unneeded function argument;
>   - Sprinkle `const'.
>   
>   Submitted-by: Larry Lansing <lansil_at_fuzzynerd_dot_com>

Note that this is not yet WARNS=6 clean, but it was starting to get old
and I wanted to get the uncontentious parts of it committed.  (I'm still
not happy about the funky malloc shimmy that's going on in there...)

-Chris





More information about the Commits mailing list