--- a/src/java.base/share/native/libjli/splashscreen_stubs.c Thu May 30 09:23:14 2019 -0700
+++ b/src/java.base/share/native/libjli/splashscreen_stubs.c Thu May 30 11:52:23 2019 -0700
@@ -33,7 +33,7 @@
*/
typedef int (*SplashLoadMemory_t)(void* pdata, int size);
typedef int (*SplashLoadFile_t)(const char* filename);
-typedef void (*SplashInit_t)(void);
+typedef int (*SplashInit_t)(void);
typedef void (*SplashClose_t)(void);
typedef void (*SplashSetFileJarName_t)(const char* fileName,
const char* jarName);
@@ -71,8 +71,8 @@
INVOKE(SplashLoadFile, 0)(filename);
}
-void DoSplashInit(void) {
- INVOKEV(SplashInit)();
+int DoSplashInit(void) {
+ INVOKE(SplashInit, 0)();
}
void DoSplashClose(void) {