[ntp:hackers] gcc question

Harlan Stenn stenn at whimsy.udel.edu
Mon Jul 28 19:30:31 PDT 2003


OK, maybe I'm being a Big Idiot here.  Please help me.

I'm trying to figure out why gcc (at least) hasn't been complaining
about the difference between the prototype declaration of pps_sample and
the places in the code where it is "used" with different arguments,
without complaint.

In particular, I see:

 ...
 extern int pps_sample (l_fp *);
 ...
 {
   ...
   (void) pps_sample(peer, &stamp);
   ...
 }

What am I missing here?  gcc-2.95.3, at least...

Harlan



More information about the hackers mailing list