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

Chris Pressey cpressey at crater.dragonflybsd.org
Sat Jan 1 14:00:25 PST 2005


cpressey    2005/01/01 14:00:15 PST

DragonFly src repository

  Modified files:
    usr.bin/rsh          Makefile rsh.c 
  Log:
  Apply style(9):
  - Remove casts to void when ignoring return values;
  - Use ANSI style function definitions;
  - Use STD{IN,OUT,ERR}_FILENO constants for readability;
  - Consistently use parentheses after sizeof.
  
  Also raise WARNS to 6:
  - Use a static string instead of a string constant;
  - Mark a parameter as unused.
  
  Revision  Changes    Path
  1.5       +1 -1      src/usr.bin/rsh/Makefile
  1.6       +31 -37    src/usr.bin/rsh/rsh.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/rsh/Makefile.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/rsh/rsh.c.diff?r1=1.5&r2=1.6&f=u





More information about the Commits mailing list