Jacek Caban : dbghelp: Remove unneeded includes.
Alexandre Julliard
julliard at winehq.org
Mon Apr 6 15:53:23 CDT 2020
Module: wine
Branch: master
Commit: ceae3f0207fb8f174d0a762ef7fe4f405316541f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ceae3f0207fb8f174d0a762ef7fe4f405316541f
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Apr 6 19:42:57 2020 +0200
dbghelp: Remove unneeded includes.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dbghelp/coff.c | 7 -------
dlls/dbghelp/dbghelp.c | 1 -
dlls/dbghelp/image.c | 1 -
dlls/dbghelp/minidump.c | 1 -
dlls/dbghelp/module.c | 1 -
dlls/dbghelp/msc.c | 7 -------
dlls/dbghelp/path.c | 1 -
dlls/dbghelp/pe_module.c | 3 ---
dlls/dbghelp/source.c | 1 -
dlls/dbghelp/stabs.c | 3 ---
dlls/dbghelp/stack.c | 1 -
dlls/dbghelp/storage.c | 1 -
dlls/dbghelp/symbol.c | 2 --
dlls/dbghelp/type.c | 1 -
14 files changed, 31 deletions(-)
diff --git a/dlls/dbghelp/coff.c b/dlls/dbghelp/coff.c
index 01c5826c7f..285182f682 100644
--- a/dlls/dbghelp/coff.c
+++ b/dlls/dbghelp/coff.c
@@ -32,16 +32,9 @@
* Add symbol size to internal symbol table.
*/
-#include "config.h"
-#include "wine/port.h"
-
#include <assert.h>
#include <stdlib.h>
-
#include <string.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
#include <stdarg.h>
#include "windef.h"
diff --git a/dlls/dbghelp/dbghelp.c b/dlls/dbghelp/dbghelp.c
index 369e098381..c3e4b2991b 100644
--- a/dlls/dbghelp/dbghelp.c
+++ b/dlls/dbghelp/dbghelp.c
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "config.h"
#include <unistd.h>
#include "dbghelp_private.h"
diff --git a/dlls/dbghelp/image.c b/dlls/dbghelp/image.c
index ef94ef6638..59622180dc 100644
--- a/dlls/dbghelp/image.c
+++ b/dlls/dbghelp/image.c
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/dlls/dbghelp/minidump.c b/dlls/dbghelp/minidump.c
index cdee1a8b2e..be155c67ce 100644
--- a/dlls/dbghelp/minidump.c
+++ b/dlls/dbghelp/minidump.c
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "config.h"
#include <time.h>
#define NONAMELESSUNION
diff --git a/dlls/dbghelp/module.c b/dlls/dbghelp/module.c
index bf7f105bf0..3255ac7a24 100644
--- a/dlls/dbghelp/module.c
+++ b/dlls/dbghelp/module.c
@@ -19,7 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 82fc44965a..0f0aa25e76 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -34,17 +34,10 @@
#define NONAMELESSUNION
-#include "config.h"
-#include "wine/port.h"
-
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
-
#include <string.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
#include <stdarg.h>
#include "windef.h"
diff --git a/dlls/dbghelp/path.c b/dlls/dbghelp/path.c
index 24649cf280..b706cd1d31 100644
--- a/dlls/dbghelp/path.c
+++ b/dlls/dbghelp/path.c
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/dlls/dbghelp/pe_module.c b/dlls/dbghelp/pe_module.c
index 0560f3ef05..b69085368b 100644
--- a/dlls/dbghelp/pe_module.c
+++ b/dlls/dbghelp/pe_module.c
@@ -21,9 +21,6 @@
*
*/
-#include "config.h"
-#include "wine/port.h"
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/dlls/dbghelp/source.c b/dlls/dbghelp/source.c
index 60784f1f0d..1844eec783 100644
--- a/dlls/dbghelp/source.c
+++ b/dlls/dbghelp/source.c
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
-#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/dlls/dbghelp/stabs.c b/dlls/dbghelp/stabs.c
index a723865527..e14e154cba 100644
--- a/dlls/dbghelp/stabs.c
+++ b/dlls/dbghelp/stabs.c
@@ -29,9 +29,6 @@
* available (hopefully) from http://sources.redhat.com/gdb/onlinedocs
*/
-#include "config.h"
-#include "wine/port.h"
-
#include <sys/types.h>
#include <fcntl.h>
#include <limits.h>
diff --git a/dlls/dbghelp/stack.c b/dlls/dbghelp/stack.c
index b3845db23a..d04c0163c9 100644
--- a/dlls/dbghelp/stack.c
+++ b/dlls/dbghelp/stack.c
@@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/dlls/dbghelp/storage.c b/dlls/dbghelp/storage.c
index f1aad08d2a..48a43e6bc3 100644
--- a/dlls/dbghelp/storage.c
+++ b/dlls/dbghelp/storage.c
@@ -20,7 +20,6 @@
*/
-#include "config.h"
#include <assert.h>
#include <stdlib.h>
#include "wine/debug.h"
diff --git a/dlls/dbghelp/symbol.c b/dlls/dbghelp/symbol.c
index c3451fb51a..7ba1049c07 100644
--- a/dlls/dbghelp/symbol.c
+++ b/dlls/dbghelp/symbol.c
@@ -21,8 +21,6 @@
#define NONAMELESSUNION
-#include "config.h"
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index f00b7c68f4..4b332b9106 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -24,7 +24,6 @@
#define NONAMELESSUNION
-#include "config.h"
#include <stdlib.h>
#include <stdarg.h>
#include <assert.h>
More information about the wine-cvs
mailing list