Reduce warnings when compiled under WARNS=6:
authorChris Pressey <cpressey@dragonflybsd.org>
Wed, 12 Jan 2005 00:26:03 +0000 (00:26 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Wed, 12 Jan 2005 00:26:03 +0000 (00:26 +0000)
commit67c34974caa49ef685ad48509477a5246f964992
treea3d25e8b1d732b6acd3a15baa91d9c17abaf3a56
parent2186fbc1f76adf22fbb06fec3b072d9db3472e74
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.
usr.sbin/config/config.h
usr.sbin/config/config.y
usr.sbin/config/lang.l
usr.sbin/config/main.c
usr.sbin/config/mkheaders.c
usr.sbin/config/mkioconf.c
usr.sbin/config/mkmakefile.c
usr.sbin/config/mkoptions.c