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

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


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Feb 2005 12:27:51 -0800 (PST)

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



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