src/java.base/share/native/libnet/net_util.h
changeset 49440 396ea30afbd5
parent 47216 71c04702a3d5
child 52073 1c8745e31fa3
--- a/src/java.base/share/native/libnet/net_util.h	Wed Mar 28 21:00:09 2018 +0200
+++ b/src/java.base/share/native/libnet/net_util.h	Wed Mar 28 23:56:08 2018 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -202,6 +202,7 @@
 
 unsigned short in_cksum(unsigned short *addr, int len);
 
-jint NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout);
+JNIEXPORT jint JNICALL
+NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout);
 
 #endif /* NET_UTILS_H */