X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firhooks.c;h=e5b6bcf9a2dabffdf5c3198443524238191d9157;hb=4f92e524762e0febc361676111b3b5b79addd03a;hp=5b51efd45eb9372ff4c8e6288945fcd7ee372653;hpb=bafc1c783b2078719ba2d96bb35afa1bd6984eca;p=libfirm diff --git a/ir/ir/irhooks.c b/ir/ir/irhooks.c index 5b51efd45..e5b6bcf9a 100644 --- a/ir/ir/irhooks.c +++ b/ir/ir/irhooks.c @@ -31,7 +31,8 @@ hook_entry_t *hooks[hook_last]; /* register a hook */ -void register_hook(hook_type_t hook, hook_entry_t *entry) { +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 */ if (! entry->hook._hook_turn_into_id) return; @@ -41,7 +42,8 @@ void register_hook(hook_type_t hook, hook_entry_t *entry) { } /* unregister a hook */ -void unregister_hook(hook_type_t hook, hook_entry_t *entry) { +void unregister_hook(hook_type_t hook, hook_entry_t *entry) +{ hook_entry_t *p; if (hooks[hook] == entry) {