summaryrefslogtreecommitdiff
path: root/src/Type1/t1stub.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:50 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:50 +0000
commit4349bf0fa125e2a1c32b0b49c974ff5fa588cdbe (patch)
tree2e4b857f2103cfbcdfcfd53b47334166e139a273 /src/Type1/t1stub.c
parent3795e9702b3b3a6fe0594d09cdd110adeb5e42f9 (diff)
Diffstat (limited to 'src/Type1/t1stub.c')
-rw-r--r--src/Type1/t1stub.c22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/Type1/t1stub.c b/src/Type1/t1stub.c
index 82be9b3..cfe6ea9 100644
--- a/src/Type1/t1stub.c
+++ b/src/Type1/t1stub.c
@@ -27,16 +27,28 @@
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*/
+/* $XFree86: xc/lib/font/Type1/t1stub.c,v 1.9 2002/02/18 20:51:57 herrb Exp $ */
-#include "objects.h" /* get #define for abort() */
-
-xiStub()
+#ifdef FONTMODULE
+#include "Xdefs.h" /* Bool declaration */
+#include "Xmd.h" /* INT32 declaration */
+#include "os.h"
+#include "xf86_ansic.h"
+#else
+#include <stdio.h>
+#include "os.h"
+#endif
+#include "objects.h" /* get #define for Abort() */
+
+static void
+xiStub(void)
{
printf("xiStub called\n");
- abort("xiStub called");
+ Abort("xiStub called");
}
-void t1_DumpText()
+void
+t1_DumpText(void)
{
xiStub();
}