From b6f793d7d5c7f7c55911e6524dede41b92dcbc22 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Fri, 14 Mar 2008 01:30:24 -0300 Subject: 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: 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. --- src/Type1/objects.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/Type1/objects.c') 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 #include #include #include -#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 -- cgit v1.2.3