cvs commit: src/sbin/startslip Makefile startslip.c

Chris Pressey cpressey at crater.dragonflybsd.org
Wed Feb 2 12:28:24 PST 2005


cpressey    2005/02/02 12:27:51 PST

DragonFly src repository

  Modified files:
    sbin/startslip       Makefile startslip.c 
  Log:
  Raise WARNS to 6:
  
  - Rename a local variable to avoid conflict with the name of a global;
  - Mark some function arguments as unused;
  - Make local functions static and fix up function prototypes;
  - Use better logic for checking return value from snprintf().
  
  Revision  Changes    Path
  1.3       +2 -1      src/sbin/startslip/Makefile
  1.7       +24 -21    src/sbin/startslip/startslip.c


http://www.dragonflybsd.org/cvsweb/src/sbin/startslip/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/startslip/startslip.c.diff?r1=1.6&r2=1.7&f=u





More information about the Commits mailing list