remove the extern C before main as it is now part of C74_EXPORT