X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firhooks.h;h=595551f4dd8e7cbc0665d150e74f10a4aee8037c;hb=f7a0dee11313faad6f2ff54edc8eaadabd03e433;hp=9fce76fe6fcd6590a2b04853cf4bb12c4efc2aee;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/include/libfirm/irhooks.h b/include/libfirm/irhooks.h index 9fce76fe6..595551f4d 100644 --- a/include/libfirm/irhooks.h +++ b/include/libfirm/irhooks.h @@ -236,12 +236,12 @@ extern hook_entry_t *hooks[hook_last]; * execute the hook what with the args args * Do not use this macro directly. */ -#define hook_exec(what, args) do { \ - hook_entry_t *p; \ - for (p = hooks[what]; p; p = p->next){ \ - void *ctx = p->context; \ - p->hook._##what args; \ - } \ +#define hook_exec(what, args) do { \ + hook_entry_t *_p; \ + for (_p = hooks[what]; _p; _p = _p->next){ \ + void *ctx = _p->context; \ + _p->hook._##what args; \ + } \ } while (0) #else