On Tue, Sep 10, 2002 at 12:08:31PM -0400, Andy Dougherty wrote:
> This won't necessarily work if sizeof(INTVAL) != sizeof(INT).  (And since
> the prototypes are hidden in the C file, not in a shared header file, the
> compiler doesn't warn about them.)  Upon reflection, however, since the

extern prototypes in a C file not in a header === bad.

Reward of 1 coffee to each person who can give any reason when it is not bad.

Can we make it a coding standard that we never define prototypes for external
functions in source files. If we need to share prototypes between more than
one source file for parrot private functions then we should use a private
header file. If we need prototypes for other people's missing prototypes then
we should do that in some sort of common header file.

Nicholas Clark
-- 
Even better than the real thing:        http://nms-cgi.sourceforge.net/

Reply via email to