From 6e754f9c5c1c9104fdd821cb3242f0e6e3476205 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 19 Aug 2008 13:00:14 +0000 Subject: [PATCH] fixed name clash [r21260] --- include/libfirm/irhooks.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.20.1