--- a/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c Fri Mar 02 19:10:12 2018 +0100
+++ b/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c Sat Mar 03 08:21:47 2018 +0100
@@ -130,7 +130,7 @@
* Return the last error for this thread (may be NULL)
*/
static char*
-getLastError() {
+getLastError(void) {
return (char *)dbgsysTlsGet(tlsIndex);
}
@@ -223,7 +223,7 @@
}
static uint32_t
-getLocalHostAddress() {
+getLocalHostAddress(void) {
// Simple routine to guess localhost address.
// it looks up "localhost" and returns 127.0.0.1 if lookup
// fails.