src/java.base/windows/native/libjava/io_util_md.c
changeset 49440 396ea30afbd5
parent 47289 6439a2eca58b
child 50549 75a03a4cfbca
child 56721 01b558efd286
--- a/src/java.base/windows/native/libjava/io_util_md.c	Wed Mar 28 21:00:09 2018 +0200
+++ b/src/java.base/windows/native/libjava/io_util_md.c	Wed Mar 28 23:56:08 2018 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -223,7 +223,7 @@
     return pathbuf;
 }
 
-FD
+JNIEXPORT FD JNICALL
 winFileHandleOpen(JNIEnv *env, jstring path, int flags)
 {
     const DWORD access =
@@ -575,7 +575,7 @@
     }
 }
 
-jlong
+JNIEXPORT jlong JNICALL
 handleLseek(FD fd, jlong offset, jint whence)
 {
     LARGE_INTEGER pos, distance;