< prev index next >

src/java.desktop/windows/native/libsplashscreen/splashscreen_sys.c

Print this page

        

@@ -435,11 +435,11 @@
 SplashUnlock(Splash * splash)
 {
     LeaveCriticalSection(&splash->lock);
 }
 
-int
+void
 SplashInitPlatform(Splash * splash)
 {
     HDC hdc;
     int paletteMode;
 

@@ -484,11 +484,10 @@
             initFormat(&splash->screenFormat,
                     0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
         }
     }
     ReleaseDC(NULL, hdc);
-    return 1;
 }
 
 void
 SplashCleanupPlatform(Splash * splash)
 {
< prev index next >