--- In [email protected], "peternilsson42" <peternilsso...@...>
wrote:
>
> "John Matthews" <jm5678@> wrote:
> > In C99, if you have the following function prototypes:
> > 
> >   void funcX();
> 
> This is _not_ a prototype in C99 (or C90.)

Peter- I was going by the C99 standard at
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf
which in 6.7.5.3 16 states:

EXAMPLE 1 The declaration

  int f(void), *fip(), (*pfi)();

declares a function f with no parameters returning an int, a function
fip with no parameter specification returning a pointer to an int, and
a pointer pfi to a function with no parameter specification returning
an int.

What have I misunderstood (wrt. fip and pfi)?

Reply via email to