3

Possible Duplicates:
What is useful about this C syntax?
What is this strange function definition syntax in C?

static void
add_shopt_to_alist (opt, on_or_off)
     char *opt;
     int on_or_off;
{
...
}

What's the syntax for :

(opt, on_or_off)
         char *opt;
         int on_or_off;

?

Community
  • 1
  • 1
ccr
  • 81
  • 1
  • 4
    This is an older (closer to the original) version of C known know as "K&R C": http://en.wikipedia.org/wiki/C_(programming_language)#K.26R_C – Adam Vandenberg Nov 16 '10 at 06:21
  • See [What is this strange function definition syntax in C? ](http://stackoverflow.com/questions/3016213/what-is-this-strange-function-definition-syntax-in-c). – Matthew Flaschen Nov 16 '10 at 06:31

0 Answers0