Removed unused header files
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 10 Dec 2004 15:14:16 +0000 (15:14 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 10 Dec 2004 15:14:16 +0000 (15:14 +0000)
move xml macros to read.c, freeing the header from libxml depency

[r4626]

ir/external/read_t.h

index 5128069..de41a18 100644 (file)
 #ifndef _READ_T_H_
 #define _READ_T_H_
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-
-#include <libxml/xmlmemory.h>
-#include <libxml/parser.h>
-#include <libxml/encoding.h>
-
 #include "type.h"
 #include "entity.h"
 #include "ident.h"
 
-# define MY_ENCODING "ISO-8859-1"
-
-# define CHECK(ptr,msg)     assert (ptr && msg)
-
-# define NODE_NAME(n, m) (0 == xmlStrcmp (n->name, (const xmlChar*) #m))
-# define CHECK_NAME(n, m) assert (0 == xmlStrcmp (n->name, (const xmlChar*) #m))
-
-# define NEW(T)     (T*) malloc (sizeof (T))
-
-
 /* first, the xml structures */
 
 typedef struct type_str
@@ -183,6 +165,10 @@ typedef struct mod_str
 
 /*
   $Log$
+  Revision 1.2  2004/12/10 15:14:16  beck
+  Removed unused header files
+  move xml macros to read.c, freeing the header from libxml depency
+
   Revision 1.1  2004/10/25 13:52:24  boesler
   seperated read.h (public interface) and read_t.h (types)