cvs commit: src/usr.sbin/config config.h config.y lang.l main.c mkheaders.c mkioconf.c mkmakefile.c mkoptions.c

Chris Pressey cpressey at crater.dragonflybsd.org
Tue Jan 11 16:26:16 PST 2005


cpressey    2005/01/11 16:26:03 PST

DragonFly src repository

  Modified files:
    usr.sbin/config      config.h config.y lang.l main.c 
                         mkheaders.c mkioconf.c mkmakefile.c 
                         mkoptions.c 
  Log:
  Reduce warnings when compiled under WARNS=6:
  - Constify many char *'s;
  - Rename a local variable;
  - Initialize an option list element using strdup (as is done elsewhere)
    instead of directly assigning a string constant to it.
  
  Revision  Changes    Path
  1.6       +3 -3      src/usr.sbin/config/config.h
  1.11      +2 -2      src/usr.sbin/config/config.y
  1.10      +1 -1      src/usr.sbin/config/lang.l
  1.14      +2 -2      src/usr.sbin/config/main.c
  1.13      +9 -9      src/usr.sbin/config/mkheaders.c
  1.9       +2 -2      src/usr.sbin/config/mkioconf.c
  1.14      +6 -6      src/usr.sbin/config/mkmakefile.c
  1.14      +3 -2      src/usr.sbin/config/mkoptions.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/config.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/config.y.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/lang.l.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/main.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/mkheaders.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/mkioconf.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/mkmakefile.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/mkoptions.c.diff?r1=1.13&r2=1.14&f=u





More information about the Commits mailing list