diff ticoff/globals.c @ 71:c15cd3d695c0

tiobjd: successful parsing of the section header table
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 22 Mar 2014 05:53:02 +0000
parents 6799a5c57a49
children 10f3fbff5e97
line wrap: on
line diff
--- a/ticoff/globals.c	Sat Mar 22 02:29:22 2014 +0000
+++ b/ticoff/globals.c	Sat Mar 22 05:53:02 2014 +0000
@@ -3,7 +3,6 @@
  */
 
 #include <sys/types.h>
-#include "filestruct.h"
 
 char *objfilename;
 u_char *filemap;
@@ -15,3 +14,5 @@
 struct external_syment *symtab_raw;
 unsigned nsymtab;
 unsigned strtab_offset;
+
+struct internal_scnhdr *sections;