summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-11-12 17:23:12 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-11-12 17:23:12 +0100
commit98cfcadcbbbfda9170b8441308090c3fa0265ab5 (patch)
tree44d2dec0c6a2ef7c7462684a6ab60550e0b6913d
parent8ab85deb810fc7a2640e7d4c0ba94c0e862c642b (diff)
downloadelfutils-98cfcadcbbbfda9170b8441308090c3fa0265ab5.tar.gz
.
-rw-r--r--backends/libebl_CPU.h1
-rw-r--r--libebl/ebl-hooks.h10
2 files changed, 1 insertions, 10 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/ebl-hooks.h b/libebl/ebl-hooks.h
index 22268074..72f1aadc 100644
--- a/libebl/ebl-hooks.h
+++ b/libebl/ebl-hooks.h
@@ -26,11 +26,6 @@
the GNU Lesser General Public License along with this program. If
not, see <http://www.gnu.org/licenses/>. */
-#ifndef EBLHOOKVAR
-# define EBLHOOKVAR EBLHOOK
-# define EBLHOOKVAR_STUB
-#endif
-
/* Return symbol representaton of object file type. */
const char *EBLHOOK(object_type_name) (int, char *, size_t);
@@ -188,8 +183,3 @@ bool EBLHOOK(frame_unwind) (Ebl *ebl, struct Dwfl_Frame_State **statep,
/* Destructor for ELF backend handle. */
void EBLHOOK(destr) (struct ebl *);
-
-#ifdef EBLHOOKVAR_STUB
-# undef EBLHOOKVAR
-# undef EBLHOOKVAR_STUB
-#endif