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

cvs commit: src/sbin/route Makefile extern.h route.c show.c


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Mar 2005 20:18:35 -0800 (PST)

cpressey    2005/03/15 20:18:35 PST

DragonFly src repository

  Modified files:
    sbin/route           Makefile extern.h route.c show.c 
  Log:
  Raise WARNS to 6:
  
  - Rename local variables to avoid conflicts with globals;
  - Make local functions static;
  - Add missing function prototypes;
  - Remove stale function prototypes and struct declarations;
  - Un-nest nested extern declarations;
  - Constify some char *'s where appropriate;
  - Resolve comparisons between signed and unsigned;
  - Copy some strings into work buffers instead of returning
    a const char * from a function defined to return a char *.
  
  Submitted-by: Sepherosa Ziehau <sepherosa_at_softhome_dot_net>
  Some-tweaks-by: cpressey
  
  Revision  Changes    Path
  1.5       +3 -2      src/sbin/route/Makefile
  1.3       +10 -6     src/sbin/route/extern.h
  1.9       +129 -129  src/sbin/route/route.c
  1.4       +25 -21    src/sbin/route/show.c


http://www.dragonflybsd.org/cvsweb/src/sbin/route/Makefile.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/route/extern.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/route/route.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/route/show.c.diff?r1=1.3&r2=1.4&f=u



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