]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 12 Nov 2012 16:23:12 +0000 (17:23 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 12 Nov 2012 16:23:12 +0000 (17:23 +0100)
backends/libebl_CPU.h
libebl/ebl-hooks.h

index 36b3a4a135b7027a1d048e7e619b63e8ebee368b..65a9a13766e06361aa9687b073df77c9c11b8b9e 100644 (file)
@@ -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
 
index 222680744fe33f2ba735af1fafe2b6e885981c23..72f1aadcd92ff9794a3a677bcdd771dfb484114d 100644 (file)
    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