From: Michael Beck Date: Tue, 19 Aug 2008 13:00:14 +0000 (+0000) Subject: fixed name clash X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6e754f9c5c1c9104fdd821cb3242f0e6e3476205;p=libfirm fixed name clash [r21260] --- 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