@@ -211,12 +211,11 @@ JNU_ThrowOutOfMemoryError(env, "native memory allocation failed"); } return pathbuf; } -JNIEXPORT FD JNICALL -winFileHandleOpen(JNIEnv *env, jstring path, int flags) +FD winFileHandleOpen(JNIEnv *env, jstring path, int flags) { const DWORD access = (flags & O_WRONLY) ? GENERIC_WRITE : (flags & O_RDWR) ? (GENERIC_READ | GENERIC_WRITE) : GENERIC_READ;