Implement binary emitter for fpush.
[libfirm] / ir / ir / irhooks.c
index fdc9228..5b51efd 100644 (file)
@@ -23,9 +23,7 @@
  * @author   Michael Beck
  * @version  $Id$
  */
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "irhooks.h"
 
@@ -59,10 +57,3 @@ void unregister_hook(hook_type_t hook, hook_entry_t *entry) {
     entry->next = NULL;
   }
 }
-
-int firm_init_hooks(void) {
-  /* this strange code assures that both functions are available
-     in a shared library even if none of them is called.
-     Meanwhile not needed anymore but ... */
-  return (int)register_hook + (int)unregister_hook;
-}