projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mux -> Abs works for unordered compare ...
[libfirm]
/
ir
/
ir
/
irhooks.c
diff --git
a/ir/ir/irhooks.c
b/ir/ir/irhooks.c
index
fdc9228
..
5b51efd
100644
(file)
--- a/
ir/ir/irhooks.c
+++ b/
ir/ir/irhooks.c
@@
-23,9
+23,7
@@
* @author Michael Beck
* @version $Id$
*/
* @author Michael Beck
* @version $Id$
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif
#include "irhooks.h"
#include "irhooks.h"
@@
-59,10
+57,3
@@
void unregister_hook(hook_type_t hook, hook_entry_t *entry) {
entry->next = NULL;
}
}
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;
-}