aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/stubs/stubs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libXfont/src/stubs/stubs.h')
-rw-r--r--libXfont/src/stubs/stubs.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/libXfont/src/stubs/stubs.h b/libXfont/src/stubs/stubs.h
new file mode 100644
index 000000000..41cde58df
--- /dev/null
+++ b/libXfont/src/stubs/stubs.h
@@ -0,0 +1,31 @@
+/* $XFree86: xc/lib/font/stubs/stubs.h,v 1.3 1999/12/15 01:14:36 robin Exp $ */
+
+#include <stdio.h>
+#include <X11/fonts/fntfilst.h>
+#include <X11/fonts/font.h>
+
+#ifndef True
+#define True (-1)
+#endif
+#ifndef False
+#define False (0)
+#endif
+
+/* this probably works for Mach-O too, but probably not for PE */
+#if defined(__ELF__) && defined(__GNUC__) && (__GNUC__ >= 3)
+#define weak __attribute__((weak))
+#else
+#define weak
+#endif
+
+extern FontPtr find_old_font ( FSID id );
+extern int set_font_authorizations ( char **authorizations,
+ int *authlen,
+ ClientPtr client );
+
+extern unsigned long GetTimeInMillis (void);
+
+extern void ErrorF(const char *format, ...);
+extern void FatalError(const char *format, ...);
+
+/* end of file */