summaryrefslogtreecommitdiff
path: root/libasm/libasm.h
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2020-01-08 15:04:50 +0100
committerMark Wielaard <mark@klomp.org>2020-01-12 17:14:52 +0100
commit287a18452ad036fe687c88f26e9f59769dc283f5 (patch)
tree41bfe327399389cb1463eeb3742430bcfd4c0108 /libasm/libasm.h
parent1d26e8e1076b98e8131b96b718d80e0dcbbc3d86 (diff)
downloadelfutils-287a18452ad036fe687c88f26e9f59769dc283f5.tar.gz
libasm.h: Don't include libebl.h. Define an opaque Ebl handle.
Using libasm isn't really usable without a way to create an Ebl handle. But we don't support libebl.h (and libebl itself). Just define the Ebl handle as an opaque struct. Code that uses it needs to figure out how to instantiate one itself (they cannot in any supportable way...) Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libasm/libasm.h')
-rw-r--r--libasm/libasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libasm/libasm.h b/libasm/libasm.h
index 5c612243..a45c9fa3 100644
--- a/libasm/libasm.h
+++ b/libasm/libasm.h
@@ -32,7 +32,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include <libebl.h>
+typedef struct ebl Ebl;
/* Opaque type for the assembler context descriptor. */