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

Chris Pressey cpressey at crater.dragonflybsd.org
Thu Jan 6 18:34:17 PST 2005


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





More information about the Commits mailing list