X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firhooks.h;h=73cf18adc5e5d3276539889f66bb5f9949d4e3af;hb=b85da3a1bf13968caba81fe3e42aab73e31f2489;hp=5e32b005a81c9932a191beb7018388e1fff8def5;hpb=3b6658341e9415461e1cdd9e76a02554868e450f;p=libfirm diff --git a/ir/ir/irhooks.h b/ir/ir/irhooks.h index 5e32b005a..73cf18adc 100644 --- a/ir/ir/irhooks.h +++ b/ir/ir/irhooks.h @@ -231,7 +231,7 @@ void register_hook(hook_type_t hook, hook_entry_t *entry); void unregister_hook(hook_type_t hook, hook_entry_t *entry); /** Global list of registerd hooks. */ -hook_entry_t *hooks[hook_last]; +extern hook_entry_t *hooks[hook_last]; /** * Executes the hook @p what with the args @p args