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

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


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Jan 2005 18:32:50 -0800 (PST)

cpressey    2005/01/06 18:32:50 PST

DragonFly src repository

  Modified files:
    usr.bin/printenv     Makefile printenv.c 
  Log:
  Raise WARNS to 6:
  - Make an extern declaration global.
  
  And style(9):
  - Remove `register' keywords;
  - Braces around multiline blocks;
  - Remove casts to void when ignoring return values;
  - Make tests against NULL and 0 explicit;
  - Untangle a particularly convoluted conditional printf().
  
  Revision  Changes    Path
  1.2       +2 -0      src/usr.bin/printenv/Makefile
  1.4       +18 -13    src/usr.bin/printenv/printenv.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/printenv/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/printenv/printenv.c.diff?r1=1.3&r2=1.4&f=u



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