#include <stdio.h>
#include <string.h>

#ifdef WIN32
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT extern
#endif

DLLEXPORT void Nothing()
{
    /* we don't even print something */
}

DLLEXPORT int Argless()
{
    return 2;
}

DLLEXPORT int long_and_complicated_name()
{
    return 3;
}

#include <stdio.h>
#include <string.h>

#ifdef WIN32
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT extern
#endif

DLLEXPORT Nothing()
{
    /* we don't even print something */
}

DLLEXPORT int Argless()
{
    return 2;
}

DLLEXPORT int long_and_complicated_name()
{
    return 3;
}

--- 
+++ 
@@ -7,7 +7,7 @@
 #define DLLEXPORT extern
 #endif
 
-DLLEXPORT Nothing()
+DLLEXPORT void Nothing()
 {
     /* we don't even print something */
 }
Fix compiler warnings on OS X / JVM backend
