DragonFly BSD
DragonFly commits List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.bin/tsort Makefile tsort.c

From: Chris Pressey <cpressey@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Dec 2004 12:00:57 -0800 (PST)

cpressey    2004/12/21 12:00:57 PST

DragonFly src repository

  Modified files:
    usr.bin/tsort        Makefile tsort.c 
  Bump WARNS to 6:
  - Add missing prototype;
  - Where appropriate, adjust types and consequently remove casts;
  - Explicitly initialize variables that GCC can't tell won't be used
  Also, while here, apply style(9):
  - Remove `register' keywords;
  - Add `static' keywords to local functions and prototypes;
  - Remove casts to void when ignoring return values;
  - Explicitly compare non-booleans against zero or NULL;
  - Make comments real sentences;
  - Add braces and NOTREACHED.
  Revision  Changes    Path
  1.2       +2 -0      src/usr.bin/tsort/Makefile
  1.4       +63 -55    src/usr.bin/tsort/tsort.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]