src/java.desktop/unix/native/common/awt/fontpath.c
branchihse-warnings-cflags-branch
changeset 56230 489867818774
parent 47513 d5a1cde89944
--- a/src/java.desktop/unix/native/common/awt/fontpath.c	Fri Mar 02 19:10:12 2018 +0100
+++ b/src/java.desktop/unix/native/common/awt/fontpath.c	Sat Mar 03 08:21:47 2018 +0100
@@ -322,7 +322,7 @@
 
 
 #ifndef HEADLESS
-static char **getX11FontPath ()
+static char **getX11FontPath (void)
 {
     char **x11Path, **fontdirs;
     int i, pos, slen, nPaths, numDirs;
@@ -581,7 +581,7 @@
 #include <fontconfig/fontconfig.h>
 
 
-static void* openFontConfig() {
+static void* openFontConfig(void) {
 
     char *homeEnv;
     static char *homeEnvStr = "HOME="; /* must be static */
@@ -741,7 +741,7 @@
 typedef FcChar8* (*FcStrListNextFuncType)(FcStrList *list);
 typedef FcChar8* (*FcStrListDoneFuncType)(FcStrList *list);
 
-static char **getFontConfigLocations() {
+static char **getFontConfigLocations(void) {
 
     char **fontdirs;
     int numdirs = 0;