diff --git a/tools/winedump/debug.c b/tools/winedump/debug.c index 3ada5eb4be9..4ce09c85aaa 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 aa4d58d19bd..21ff22a2521 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 210b1007e83..080fb42397f 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 c56417434d6..00000000000 --- 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 aa257f3e29a..d4aea075d2f 100644 --- a/tools/winedump/winedump.h +++ b/tools/winedump/winedump.h @@ -244,7 +244,10 @@ void lib_dump( const char *lib_base, unsigned long lib_size ); 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);