C variable declaration style

Charles Day cedayiv at gmail.com
Mon Jun 9 13:54:39 EDT 2008

When writing GnuCash C functions, is it preferred to declare all variables
at the very top? Or am I free to declare them in other places to get more
control over scope, like:

if (condition)
  int private_to_if;

  do something...


More information about the gnucash-devel mailing list