[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: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-09-07 20:04:06 CEST

Greg Stein <gstein@lyra.org> writes:
> 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.
>
> IIRC, ANSI states that a prototype is a declaration if there is no body
> associated with the thing. The extern then becomes superfluous.

Yeah, that's what I've always thought, too, but have never managed to
find a definitive statement on the matter in (ANSI) K & R.

Knowing JimB, there's probably some erudite and totally obscure (yet
vitally important) reason to do it, though. Jim? :-)
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.