On Sun, 8 Feb 2009 20:40:09 -0800, Garrett Whelan wrote:
> ... Oh, also what is this declaration structure:
> 2038 static void
> 2039 list_func_vars(first)
> 2040 int *first;
> 2041 {
> 2042 if (current_funccal != NULL)
> 2043 list_hashtable_vars(¤t_funccal->l_vars.dv_hashtab,
> 2044 (char_u *)"l:", FALSE, first);
> 2045 }
>
> I've never seen that in C before. Declaring variables after the
> arguments but before the body?
That is the original style of function declaration in C, from back in the K&R
first edition days.
Spencer
--
<<< Eagles may soar, but weasels don't get sucked into jet engines >>>
7:52am up 56 days 23:12, 1 user, load average: 1.01, 0.97, 0.60
Registered Linux User #232457 | LFS ID 11703
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---