[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: extern keyword

From: Jim Blandy <jimb_at_savonarola.red-bean.com>
Date: 2000-09-08 01:29:23 CEST

> One policy I've liked is that a module of code includes its header
> file; then when the prototype conflicts, you know it instantly.
> Putting externs in the header files either makes this impossible, or
> just kind of weird.

Certainly --- that cross-checking between the header and the
implementation is requisite. The `extern' keyword has no effect on
that either way, though. You can declare a function extern, and then
later define it.
Received on Sat Oct 21 14:36:07 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.