Subject: Re: C++, GLUT, and function pointers.
To: None <netbsd-help@NetBSD.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 09/14/2003 00:39:18
On Fri, 12 Sep 2003 10:38:00 -0500, Richard Rauch <rkr@olib.org> wrote:
> extern "C"
> {
>     static void ... {}
> }
> 
> THIS works.
> 
> It also works if I drop the {static} qualifier

Everything embraced by that ``extern "C"'' is POC -- Plain Old C.  In C,
"static" is a linkage qualifier; static functions are not exported, are
not visible outside the module.  Put another way, you can't link to a
static function.  

You're using it within the same compilation unit.  That's why it works
either way.  :-)

--jkl