[runtime] Remove redundant #includes.
authorJon Purdy <evincarofautumn@gmail.com>
Thu, 2 Feb 2017 23:49:06 +0000 (15:49 -0800)
committerJon Purdy <evincarofautumn@gmail.com>
Fri, 3 Feb 2017 21:33:47 +0000 (13:33 -0800)
17 files changed:
mono/metadata/appdomain.c
mono/metadata/attach.c
mono/metadata/cominterop.c
mono/metadata/domain.c
mono/metadata/gc-internals.h
mono/metadata/gc.c
mono/metadata/jit-info.c
mono/metadata/marshal.c
mono/metadata/object.c
mono/metadata/sgen-mono.c
mono/metadata/threads.c
mono/metadata/verify.c
mono/mini/cfgdump.c
mono/mini/dwarfwriter.c
mono/mini/method-to-ir.c
mono/mini/mini.h
mono/sgen/sgen-gc.c

index 5c81db2d8262944e2f4d8e14d85467bc06026fd8..523b826de169580d8f7e4a170f3c3e57acefde6c 100644 (file)
@@ -44,7 +44,6 @@
 #include <mono/metadata/threads.h>
 #include <mono/metadata/threadpool.h>
 #include <mono/metadata/tabledefs.h>
-#include <mono/metadata/gc-internals.h>
 #include <mono/metadata/mono-gc.h>
 #include <mono/metadata/marshal.h>
 #include <mono/metadata/marshal-internals.h>
index 13f03abf48535462f6b94fb5f912c6ab3d16183c..d7c39797a66a6e6e623f5b43c9ef76ccc8c09aad 100644 (file)
@@ -24,8 +24,6 @@
 #include <sys/stat.h>
 #include <sys/un.h>
 #include <netinet/in.h>
-#include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <inttypes.h>
 #include <pwd.h>
index b3edf0f4aff551185ad4675f47f23b83558df743..650c97c8afcbcf723314934adf9ddf446f0e2d78 100644 (file)
@@ -32,7 +32,6 @@
 #include "mono/metadata/threads-types.h"
 #include "mono/metadata/string-icalls.h"
 #include "mono/metadata/attrdefs.h"
-#include "mono/metadata/gc-internals.h"
 #include "mono/utils/mono-counters.h"
 #include "mono/utils/strenc.h"
 #include "mono/utils/atomic.h"
index 12f778fa1ad29865db7371cf79c7446f3492630e..a498f9491f8412f9fa10bc0bf700d9c3826b0b14 100644 (file)
@@ -34,7 +34,6 @@
 #include <mono/metadata/assembly.h>
 #include <mono/metadata/exception.h>
 #include <mono/metadata/metadata-internals.h>
-#include <mono/metadata/gc-internals.h>
 #include <mono/metadata/appdomain.h>
 #include <mono/metadata/mono-debug-debugger.h>
 #include <mono/metadata/mono-config.h>
index 2ef55c6e6733baa729f9a37c2bbb544d82c7d03d..56b9cded8a05924a27889dce58e0e4ee8c7b7e48 100644 (file)
@@ -16,7 +16,6 @@
 #include <mono/metadata/object-internals.h>
 #include <mono/metadata/threads-types.h>
 #include <mono/sgen/gc-internal-agnostic.h>
-#include <mono/utils/gc_wrapper.h>
 
 #define mono_domain_finalizers_lock(domain) mono_os_mutex_lock (&(domain)->finalizable_objects_hash_lock);
 #define mono_domain_finalizers_unlock(domain) mono_os_mutex_unlock (&(domain)->finalizable_objects_hash_lock);
index 9060cf400e012cdd756af2fa2de2b9ada65f71b3..fecd120d419974d27701298ab5b5b700c215c3e4 100644 (file)
@@ -28,7 +28,6 @@
 #include <mono/sgen/sgen-conf.h>
 #include <mono/sgen/sgen-gc.h>
 #include <mono/utils/mono-logger-internals.h>
-#include <mono/metadata/gc-internals.h>
 #include <mono/metadata/marshal.h> /* for mono_delegate_free_ftnptr () */
 #include <mono/metadata/attach.h>
 #include <mono/metadata/console-io.h>
index 6ffff1a6b7328511743975d2b247935fe7aa9d6d..efbb373197f0db84c8b91517ced171c10f621bbf 100644 (file)
@@ -34,7 +34,6 @@
 #include <mono/metadata/assembly.h>
 #include <mono/metadata/exception.h>
 #include <mono/metadata/metadata-internals.h>
-#include <mono/metadata/gc-internals.h>
 #include <mono/metadata/appdomain.h>
 #include <mono/metadata/mono-debug-debugger.h>
 #include <mono/metadata/mono-config.h>
index b92acd24932f3bc3726c95768de988da85aac8ac..a19ec7703e76bdd96f7790316b305c8088e54b4c 100644 (file)
@@ -36,7 +36,6 @@
 #include "mono/metadata/threads-types.h"
 #include "mono/metadata/string-icalls.h"
 #include "mono/metadata/attrdefs.h"
-#include "mono/metadata/gc-internals.h"
 #include "mono/metadata/cominterop.h"
 #include "mono/metadata/remoting.h"
 #include "mono/metadata/reflection-internals.h"
index c1c887f8db9ec3323b41c57d990dd578c14b134e..88f5acaa0242b624046058035634d5b6cd8bb494 100644 (file)
 #include <mono/metadata/assembly.h>
 #include <mono/metadata/marshal.h>
 #include "mono/metadata/debug-helpers.h"
-#include "mono/metadata/marshal.h"
 #include <mono/metadata/threads.h>
 #include <mono/metadata/threads-types.h>
 #include <mono/metadata/environment.h>
 #include "mono/metadata/profiler-private.h"
 #include "mono/metadata/security-manager.h"
 #include "mono/metadata/mono-debug-debugger.h"
-#include <mono/metadata/gc-internals.h>
 #include <mono/metadata/verify-internals.h>
 #include <mono/metadata/reflection-internals.h>
 #include <mono/metadata/w32event.h>
index 7d6a95aca5ec4fd8ac2e5ed555cdfc3b885edefd..f759901a5a0f3202693632de4b61f727490ea4c0 100644 (file)
@@ -28,7 +28,6 @@
 #include "utils/mono-memory-model.h"
 #include "utils/mono-logger-internals.h"
 #include "utils/mono-threads-coop.h"
-#include "sgen/sgen-thread-pool.h"
 #include "utils/mono-threads.h"
 #include "metadata/w32handle.h"
 
index d643bfd76e82395cddc40ccea4d7eac476ec9f96..5712f07d175a15b1c4b39250c9519504634b66e6 100644 (file)
@@ -41,7 +41,6 @@
 #include <mono/utils/mono-tls.h>
 #include <mono/utils/atomic.h>
 #include <mono/utils/mono-memory-model.h>
-#include <mono/utils/mono-threads-coop.h>
 #include <mono/utils/mono-error-internals.h>
 #include <mono/utils/os-event.h>
 #include <mono/utils/mono-threads-debug.h>
@@ -49,7 +48,6 @@
 #include <mono/metadata/w32event.h>
 #include <mono/metadata/w32mutex.h>
 
-#include <mono/metadata/gc-internals.h>
 #include <mono/metadata/reflection-internals.h>
 #include <mono/metadata/abi-details.h>
 #include <mono/metadata/w32error.h>
index a9a1d5361a53014de423c5ddc8b6f4057e7c4c2c..0e12c7c09fd5d817310f0ad875a4847d4406289a 100644 (file)
@@ -28,7 +28,6 @@
 #include <mono/metadata/tokentype.h>
 #include <mono/metadata/mono-basic-block.h>
 #include <mono/metadata/attrdefs.h>
-#include <mono/metadata/class-internals.h>
 #include <mono/utils/mono-counters.h>
 #include <mono/utils/monobitset.h>
 #include <string.h>
index 7d83d6480a2cfbdc6ca88a20a7462edaf6bf3ae2..1e76055f58110efa7587c6f49c3a061a987034fa 100644 (file)
@@ -21,7 +21,6 @@
 #include <unistd.h>
 #include <errno.h>
 #include <arpa/inet.h>
-#include <errno.h>
 
 #if 0
 #define CFG_DEBUG
index 6c191d0b37ddd73527a2bc7a990cc95c964a19d8..40960cc4b847a6b3d78780ffab99c33ef8b448dc 100644 (file)
@@ -23,7 +23,6 @@
 #include <mono/metadata/mono-endian.h>
 #include <mono/metadata/debug-mono-symfile.h>
 #include <mono/metadata/mono-debug-debugger.h>
-#include <mono/utils/mono-compiler.h>
 
 #ifndef HOST_WIN32
 #include <mono/utils/freebsd-elf32.h>
index 2ff64a9754ded0e17e52e2541d3f086160f2e3d5..cda09bf81946c61dd911aa829f4dfb227db94b31 100644 (file)
@@ -60,7 +60,6 @@
 #include <mono/metadata/profiler.h>
 #include <mono/metadata/monitor.h>
 #include <mono/metadata/debug-mono-symfile.h>
-#include <mono/utils/mono-compiler.h>
 #include <mono/utils/mono-memory-model.h>
 #include <mono/utils/mono-error-internals.h>
 #include <mono/metadata/mono-basic-block.h>
index 415290c17bd6f57de65ff347c937a0153273f063..47779970b616f83a01375bddababc7b018bdec97 100644 (file)
 #include "jit.h"
 #include "cfgdump.h"
 
-#include "mono/metadata/class-internals.h"
-#include "mono/metadata/domain-internals.h"
-#include "mono/metadata/object.h"
 #include "mono/metadata/tabledefs.h"
 #include "mono/metadata/marshal.h"
 #include "mono/metadata/security-manager.h"
 #include "mono/metadata/exception.h"
-#include "mono/utils/mono-compiler.h"
 
 #ifdef __native_client_codegen__
 #include <nacl/nacl_dyncode.h>
index e29ec1c92005b17b6e992cc71caa7247587fd7a5..7c02172c6ee188b91fd9ded6a42c49a6d24d70a7 100644 (file)
 #include "mono/sgen/sgen-protocol.h"
 #include "mono/sgen/sgen-memory-governor.h"
 #include "mono/sgen/sgen-hash-table.h"
-#include "mono/sgen/sgen-cardtable.h"
 #include "mono/sgen/sgen-pinning.h"
 #include "mono/sgen/sgen-workers.h"
 #include "mono/sgen/sgen-client.h"