From e2b6e201992b9e4d458dd469d286db3dca46e75f Mon Sep 17 00:00:00 2001 From: norly Date: Thu, 21 Mar 2013 00:41:08 +0000 Subject: Copy section contents into newly allocated buffers --- include/libelfu/modeltypes.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/libelfu') 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 #include -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; -- cgit v1.2.3