summaryrefslogtreecommitdiff
path: root/src/Type1/objects.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-14 01:30:24 -0300
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-12-19 16:22:29 -0800
commitb6f793d7d5c7f7c55911e6524dede41b92dcbc22 (patch)
treea048c9f15315c72ae8e157c83bba9c186a09c491 /src/Type1/objects.c
parent282ac4226195d58e3818e7ac97093e396aa78086 (diff)
libXfont ansification and removal of xf86_ansic.h dependency
Basically the code is now compiled as if FONTMODULE was never defined, but also removed some "magic" defining _XOPEN_SOURCE before including math.h. Also removed some #if 0'ed code instead of fixing prototypes inside the "dead code". Changes to spdo_prv.h were due to defines like: <hash>define foo() sp_foo() that would not compile with the ansification in the format: type foo(void) due to the macro receiving "void" as an argument.
Diffstat (limited to 'src/Type1/objects.c')
-rw-r--r--src/Type1/objects.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/Type1/objects.c b/src/Type1/objects.c
index 7a49bcb..dc5f415 100644
--- a/src/Type1/objects.c
+++ b/src/Type1/objects.c
@@ -56,18 +56,11 @@ these may be defined as macros; if these ".h" files do not exist on your
system it is a pretty safe bet that these are external entry points and
you do do not need to include these header files.
*/
-
-#ifndef FONTMODULE
+
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
-#else
-#include "Xdefs.h" /* Bool declaration */
-#include "Xmd.h" /* INT32 declaration */
-#include "os.h"
-#include "xf86_ansic.h"
-#endif
/*
override incorrect system functions; for example you might define