diff ticoff/main.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 1a23ff9a81de
line wrap: on
line diff
--- a/ticoff/main.c	Sat Mar 22 02:29:22 2014 +0000
+++ b/ticoff/main.c	Sat Mar 22 05:53:02 2014 +0000
@@ -7,9 +7,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <strings.h>
-#include "filestruct.h"
 #include "globals.h"
 
+extern int cmd_sechdr();
 extern int dump_filehdr_info();
 
 static struct cmdtab {
@@ -17,6 +17,7 @@
 	int	(*func)();
 } cmdtab[] = {
 	{"hdr", dump_filehdr_info},
+	{"sechdr", cmd_sechdr},
 	{0, 0}
 };