# include <signal.h>
# include <X11/Xatom.h>
# include <setjmp.h>
+#if defined(__FreeBSD__) && OSMAJORVERSION > 8
+# include <utmpx.h>
+#else
# include <utmp.h>
+#endif
# include "vgproto.h"
/*
static int SeparateParts( char **path );
-static
+static void
DebugFontPath(char *note, char **path, int nelems)
{
int i;
if (d->displayType.location == Foreign) {
Debug(" Foreign display\n");
- return;
+ return 0;
}
if (!(fontPath=XGetFontPath(dpy, &numPaths))) {
Debug(" Can't get font path\n");
- return;
+ return 0;
}
/*
if (fph) free(fph);
if (fpt) free(fpt);
XFreeFontPath(fontPath);
+
+ return 1;
}
/* ___________________________________________________________________