X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firhooks.c;h=b32b91e76b0b798916d37730a56f3f68c436470a;hb=8294af81ea394a04f4469035d8d15943467022bc;hp=ca19af1af6d246d85c0583172b66cc43fa77f34c;hpb=f8cc15664f571aa7ef89d6f6bc8d5bd2b8ca7d53;p=libfirm diff --git a/ir/ir/irhooks.c b/ir/ir/irhooks.c index ca19af1af..b32b91e76 100644 --- a/ir/ir/irhooks.c +++ b/ir/ir/irhooks.c @@ -28,10 +28,8 @@ #include "irhooks.h" -/* the hooks */ hook_entry_t *hooks[hook_last]; -/* register a hook */ void register_hook(hook_type_t hook, hook_entry_t *entry) { /* check if a hook function is specified. It's a union, so no matter which one */ @@ -45,7 +43,6 @@ void register_hook(hook_type_t hook, hook_entry_t *entry) hooks[hook] = entry; } -/* unregister a hook */ void unregister_hook(hook_type_t hook, hook_entry_t *entry) { hook_entry_t *p;