summaryrefslogtreecommitdiff
path: root/include/libelfu
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-03-21 00:41:08 +0000
committernorly <ny-git@enpas.org>2013-03-21 00:41:08 +0000
commite2b6e201992b9e4d458dd469d286db3dca46e75f (patch)
treee0ae6d46df0f55d5179ab6ee21eadb1fecdd46d4 /include/libelfu
parent20d33931a158fe6236092964120aaec793321a4c (diff)
Copy section contents into newly allocated buffers
Diffstat (limited to 'include/libelfu')
-rw-r--r--include/libelfu/modeltypes.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/libelfu/modeltypes.h b/include/libelfu/modeltypes.h
index 18f6671..33a68a3 100644
--- a/include/libelfu/modeltypes.h
+++ b/include/libelfu/modeltypes.h
@@ -6,17 +6,11 @@
#include <elf.h>
#include <gelf.h>
-typedef struct ElfuData {
- Elf_Data data;
-
- CIRCLEQ_ENTRY(ElfuData) elem;
-} ElfuData;
-
typedef struct ElfuScn {
GElf_Shdr shdr;
- CIRCLEQ_HEAD(DataList, ElfuData) dataList;
+ Elf_Data data;
CIRCLEQ_ENTRY(ElfuScn) elem;
} ElfuScn;