summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backends/libebl_CPU.h1
-rw-r--r--libebl/libeblP.h2
2 files changed, 3 insertions, 0 deletions
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 <libeblP.h>
#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. */