Re: cvs commit: src/usr.bin/checknr checknr.c
On Mon, 28 Feb 2005 22:54:32 -0800 (PST)
Chris Pressey <cpressey@crater.dragonflybsd.org> 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
討論串 (同標題文章)
完整討論串 (本文為第 2 之 6 篇):