Eric Pouech : winedump: Header file pe.h is useless, get rid of it.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Nov 30 06:45:59 CST 2006


Module: wine
Branch: master
Commit: 80b09ccf4cf868d5690760020eadc16e673aaf9c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=80b09ccf4cf868d5690760020eadc16e673aaf9c

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Wed Nov 29 21:40:08 2006 +0100

winedump: Header file pe.h is useless, get rid of it.

---

 tools/winedump/debug.c    |    1 -
 tools/winedump/dump.c     |    1 -
 tools/winedump/pe.c       |    1 -
 tools/winedump/pe.h       |   24 ------------------------
 tools/winedump/winedump.h |    5 ++++-
 5 files changed, 4 insertions(+), 28 deletions(-)

diff --git a/tools/winedump/debug.c b/tools/winedump/debug.c
index 3ada5eb..4ce09c8 100644
--- a/tools/winedump/debug.c
+++ b/tools/winedump/debug.c
@@ -44,7 +44,6 @@
 #include "windef.h"
 #include "winbase.h"
 #include "winedump.h"
-#include "pe.h"
 #include "cvinclude.h"
 
 /*
diff --git a/tools/winedump/dump.c b/tools/winedump/dump.c
index aa4d58d..21ff22a 100644
--- a/tools/winedump/dump.c
+++ b/tools/winedump/dump.c
@@ -44,7 +44,6 @@
 #include "windef.h"
 #include "winbase.h"
 #include "winedump.h"
-#include "pe.h"
 
 static void*			dump_base;
 static unsigned long		dump_total_len;
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c
index 210b100..080fb42 100644
--- a/tools/winedump/pe.c
+++ b/tools/winedump/pe.c
@@ -44,7 +44,6 @@
 #include "windef.h"
 #include "winbase.h"
 #include "winedump.h"
-#include "pe.h"
 
 static const IMAGE_NT_HEADERS32*        PE_nt_headers;
 
diff --git a/tools/winedump/pe.h b/tools/winedump/pe.h
deleted file mode 100644
index c564174..0000000
--- a/tools/winedump/pe.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- *	PE dumping utility
- *
- * 	Copyright 2001 Eric Pouech
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-extern void		dump_codeview(unsigned long ptr, unsigned long len);
-extern void		dump_coff(unsigned long coffbase, unsigned long len, const void* sect_map);
-extern void		dump_frame_pointer_omission(unsigned long base, unsigned long len);
-
diff --git a/tools/winedump/winedump.h b/tools/winedump/winedump.h
index aa257f3..d4aea07 100644
--- a/tools/winedump/winedump.h
+++ b/tools/winedump/winedump.h
@@ -244,7 +244,10 @@ void            lib_dump( const char *li
 void	        dbg_dump( void );
 void            pe_dump( void );
 
-void dump_stabs(const void* pv_stabs, unsigned szstabs, const char* stabstr, unsigned szstr);
+void            dump_stabs(const void* pv_stabs, unsigned szstabs, const char* stabstr, unsigned szstr);
+void		dump_codeview(unsigned long ptr, unsigned long len);
+void		dump_coff(unsigned long coffbase, unsigned long len, const void* sect_map);
+void		dump_frame_pointer_omission(unsigned long base, unsigned long len);
 
 FILE *open_file (const char *name, const char *ext, const char *mode);
 




More information about the wine-cvs mailing list