--- a/src/java.base/unix/native/libjli/java_md_solinux.c Fri Mar 02 19:10:12 2018 +0100
+++ b/src/java.base/unix/native/libjli/java_md_solinux.c Sat Mar 03 08:21:47 2018 +0100
@@ -163,7 +163,7 @@
* execname accessor from other parts of platform dependent logic
*/
const char *
-GetExecName() {
+GetExecName(void) {
return execname;
}
@@ -720,7 +720,7 @@
}
}
-void SplashFreeLibrary() {
+void SplashFreeLibrary(void) {
if (hSplashLib) {
dlclose(hSplashLib);
hSplashLib = NULL;
@@ -777,7 +777,7 @@
/* Coarse estimation of number of digits assuming the worst case is a 64-bit pid. */
#define MAX_PID_STR_SZ 20
-void SetJavaLauncherPlatformProps() {
+void SetJavaLauncherPlatformProps(void) {
/* Linux only */
#ifdef __linux__
const char *substr = "-Dsun.java.launcher.pid=";
@@ -803,7 +803,7 @@
}
void
-RegisterThread()
+RegisterThread(void)
{
// stubbed out for windows and *nixes.
}