fix irhooks move commit
authorMatthias Braun <matze@braunis.de>
Mon, 26 Nov 2012 15:20:11 +0000 (16:20 +0100)
committerMatthias Braun <matze@braunis.de>
Mon, 26 Nov 2012 16:50:00 +0000 (17:50 +0100)
ir/ir/irhooks.h

index 5e32b00..73cf18a 100644 (file)
@@ -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