From: Jan Kratochvil Date: Mon, 12 Nov 2012 16:20:59 +0000 (+0100) Subject: +EBLHOOKVAR X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc4dbad0c15b673ef5f2362cbe6f08cc4f28a1cd;p=thirdparty%2Felfutils.git +EBLHOOKVAR /* Number of Dwarf_Frame_State->regs entries to allocate for frame_state above. */ size_t EBLHOOKVAR(frame_state_nregs); --- diff --git a/backends/libebl_CPU.h b/backends/libebl_CPU.h index 36b3a4a13..65a9a1376 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 c8196bd19..773b6b8f8 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. */