[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: Manoj Kasichainula <manoj_at_collab.net>
Date: 2000-09-07 22:49:42 CEST

Sorry to be yapping out of complete ignorance, but I'm really good at
it!

On Thu, Sep 07, 2000 at 12:56:35PM -0700, Greg Stein wrote:
> I've noticed that svn_fs.h uses the "extern" keyword for all of its function
> declarations. None of the headers in the rest of Subversion, APR, or Neon
> use that style, so I would recommend dropping it.

+1

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.
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.