cvs commit: src/usr.sbin/config main.c

Thomas Nikolajsen thomas at crater.dragonflybsd.org
Wed Jul 9 16:54:04 PDT 2008


thomas      2008/07/09 16:52:16 PDT

DragonFly src repository

  Modified files:
    usr.sbin/config      main.c 
  Log:
  Fix `option INCLUDE_CONFIG_FILE',
  which was broken using gcc4.1.2 (default compiler).
  
  Solution is to drop `static' for variable containing CONFIG.
  Name of variable also change from config to config_INCLUDE_CONFIG_FILE,
  to minimize chance of name clash, now that it is made public.
  Variable isn't used, so gcc optimized it away.
  
  Revision  Changes    Path
  1.23      +1 -1      src/usr.sbin/config/main.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/main.c.diff?r1=1.22&r2=1.23&f=u





More information about the Commits mailing list