From cc4dbad0c15b673ef5f2362cbe6f08cc4f28a1cd Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 12 Nov 2012 17:20:59 +0100 Subject: +EBLHOOKVAR /* Number of Dwarf_Frame_State->regs entries to allocate for frame_state above. */ size_t EBLHOOKVAR(frame_state_nregs); --- backends/libebl_CPU.h | 1 + libebl/libeblP.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/backends/libebl_CPU.h b/backends/libebl_CPU.h index 36b3a4a1..65a9a137 100644 --- a/backends/libebl_CPU.h +++ b/backends/libebl_CPU.h @@ -32,6 +32,7 @@ #include #define EBLHOOK(name) EBLHOOK_1(BACKEND, name) +#define EBLHOOKVAR EBLHOOK #define EBLHOOK_1(a, b) EBLHOOK_2(a, b) #define EBLHOOK_2(a, b) a##b diff --git a/libebl/libeblP.h b/libebl/libeblP.h index c8196bd1..773b6b8f 100644 --- a/libebl/libeblP.h +++ b/libebl/libeblP.h @@ -54,7 +54,9 @@ struct ebl /* See ebl-hooks.h for the declarations of the hook functions. */ # define EBLHOOK(name) (*name) +# define EBLHOOKVAR(name) (name) # include "ebl-hooks.h" +# undef EBLHOOKVAR # undef EBLHOOK /* Size of entry in Sysv-style hash table. */ -- cgit v1.2.3