Patches from pkgsrc-WIP
[oweals/cde.git] / cde / programs / dtlogin / fontpath.c
index 265c6826d651389ed4c1c245d6886739ab447781..993a1b24f4c0c1687c781a158f68939e822d7a62 100644 (file)
@@ -58,7 +58,7 @@ static int PathInZList(char *path, char *fplist, int listlen);
 static int SeparateParts( char **path );
 
 
-static
+static void
 DebugFontPath(char *note, char **path, int nelems)
 {
     int i;
@@ -182,6 +182,8 @@ ApplyFontPathMods( struct display *d, Display *dpy )
     if (fph) free(fph);
     if (fpt) free(fpt);
     XFreeFontPath(fontPath);
+
+    return 1;
 }
 
 /* ___________________________________________________________________