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

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


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Thu, 10 Jul 2008 07:57:41 +0100

Thomas Nikolajsen wrote:
  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.

Alternatively you could declare it __used I think.


cheers
  simon




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