8163408: Fix wrong prototype of getNativeScaleFactor() in systemScale.h
Reviewed-by: serb
--- a/jdk/src/java.desktop/unix/native/common/awt/systemscale/systemScale.h Wed Aug 10 13:54:38 2016 +0200
+++ b/jdk/src/java.desktop/unix/native/common/awt/systemscale/systemScale.h Wed Aug 10 17:55:08 2016 +0200
@@ -26,7 +26,7 @@
#include <signal.h>
#include <stdlib.h>
-double getNativeScaleFactor();
+double getNativeScaleFactor(char *output_name);
#endif
--- a/jdk/src/java.desktop/unix/native/libsplashscreen/splashscreen_sys.c Wed Aug 10 13:54:38 2016 +0200
+++ b/jdk/src/java.desktop/unix/native/libsplashscreen/splashscreen_sys.c Wed Aug 10 17:55:08 2016 +0200
@@ -806,7 +806,7 @@
#ifndef __linux__
return JNI_FALSE;
#endif
- *scaleFactor = getNativeScaleFactor();
+ *scaleFactor = getNativeScaleFactor(NULL);
if (*scaleFactor == 2.0) {
size_t length = 0;
char *stringToAppend = ".java-scale2x";