X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firhooks.h;h=73cf18adc5e5d3276539889f66bb5f9949d4e3af;hb=031078da41d1889efcb12250ca35a0124b30cefa;hp=5e32b005a81c9932a191beb7018388e1fff8def5;hpb=7b0a6d0bb07db1725e9556eddb7b6bb143c517fb;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