Added bitfiddling routines and a bitset implementation
[libfirm] / ir / external / read.c
index 7b01c32..e457503 100644 (file)
@@ -12,6 +12,7 @@
  * Licence:     This file is protected by GPL -  GNU GENERAL PUBLIC LICENSE.
  */
 
+# define _GNU_SOURCE
 # include "read.h"
 
 static type_t *types = NULL;
@@ -24,7 +25,7 @@ static int _ent_id = 0;
 static const char*
 getNodeModule (xmlNodePtr node)
 {
-  char *mod_str = (char*) xmlGetProp (node, BAD_CAST "module");
+  const char *mod_str = (const char*) xmlGetProp (node, BAD_CAST "module");
 
   if (NULL == mod_str) {
     return (NULL);
@@ -756,6 +757,12 @@ void test_getEffectByName ()
 \f
 /*
  * $Log$
+ * Revision 1.4  2004/10/14 11:31:53  liekweg
+ * ...
+ *
+ * Revision 1.3  2004/10/13 13:36:28  rubino
+ * fix for strdup
+ *
  * Revision 1.2  2004/10/11 15:56:09  liekweg
  * Cleanup, comments ...
  * Added init func --flo