Implement binary emitter for Perm.
[libfirm] / ir / ident / ident.c
index 3a4e38d..38e37a4 100644 (file)
@@ -23,9 +23,7 @@
  * @author    Goetz Lindenmaier
  * @version   $Id$
  */
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
 
 #include <assert.h>
 #include <ctype.h>
@@ -78,7 +76,7 @@ static ident *set_new_id_from_chars(void *handle, const char *str, int len)
 static ident *set_new_id_from_str(void *handle, const char *str)
 {
   assert(str);
-  return (ident *)set_new_id_from_chars(handle, str, strlen(str));
+  return set_new_id_from_chars(handle, str, strlen(str));
 }
 
 /**