Wed, 16 Sep 2009 15:19:14 +0200add extern C to maintain compatibility with C++
greg [Wed, 16 Sep 2009 15:19:14 +0200] rev 591
add extern C to maintain compatibility with C++
fix warnings with msvc compiler