aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/stubs/fatalerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXfont/src/stubs/fatalerror.c')
-rw-r--r--libXfont/src/stubs/fatalerror.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libXfont/src/stubs/fatalerror.c b/libXfont/src/stubs/fatalerror.c
new file mode 100644
index 000000000..1549ad3ea
--- /dev/null
+++ b/libXfont/src/stubs/fatalerror.c
@@ -0,0 +1,13 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include "stubs.h"
+
+#ifdef __SUNPRO_C
+#pragma weak FatalError
+#endif
+
+weak void
+FatalError(const char *f, ...)
+{
+}