--- In [email protected], Paul Herring <pauljherr...@...> wrote: > > On Mon, Feb 23, 2009 at 9:53 PM, John Matthews <jm5...@...> wrote: > > --- In [email protected], "peternilsson42" <peternilsson42@> > > 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)? > > The difference between "with no parameters" and "with no parameter > specification"
But those were the terms I used in my original post for my examples. How they different to the fip and pfi prototypes in the standard example?
