From: Eric Biggers Date: Thu, 24 Jul 2014 05:05:24 +0000 (-0500) Subject: Remove some unneeded includes X-Git-Tag: v1.7.1~51 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=b79d426cd90c506974f6c956a9af141b5d257d42 Remove some unneeded includes --- diff --git a/include/wimlib/header.h b/include/wimlib/header.h index 290e0b2c..12545762 100644 --- a/include/wimlib/header.h +++ b/include/wimlib/header.h @@ -3,7 +3,6 @@ #include "wimlib/resource.h" #include "wimlib/types.h" -#include "wimlib/endianness.h" #include diff --git a/src/dentry.c b/src/dentry.c index 4bb170e7..62283c18 100644 --- a/src/dentry.c +++ b/src/dentry.c @@ -59,18 +59,12 @@ # include "config.h" #endif -#include "wimlib/case.h" +#include "wimlib/assert.h" #include "wimlib/dentry.h" +#include "wimlib/inode.h" #include "wimlib/encoding.h" #include "wimlib/endianness.h" -#include "wimlib/error.h" -#include "wimlib/lookup_table.h" #include "wimlib/metadata.h" -#include "wimlib/paths.h" -#include "wimlib/resource.h" -#include "wimlib/security.h" -#include "wimlib/sha1.h" -#include "wimlib/timestamp.h" #include diff --git a/src/inode.c b/src/inode.c index 79adf365..c9aa14b8 100644 --- a/src/inode.c +++ b/src/inode.c @@ -26,7 +26,6 @@ #endif #include "wimlib/assert.h" -#include "wimlib/case.h" #include "wimlib/dentry.h" /* Only for dentry_full_path(). Otherwise the code in this file doesn't care about file names/paths. */ diff --git a/src/lzms-compress.c b/src/lzms-compress.c index 871c12c7..d93ce3d1 100644 --- a/src/lzms-compress.c +++ b/src/lzms-compress.c @@ -34,7 +34,6 @@ # include "config.h" #endif -#include "wimlib.h" #include "wimlib/assert.h" #include "wimlib/compiler.h" #include "wimlib/compressor_ops.h" diff --git a/src/resource.c b/src/resource.c index 4b1534ec..24526a83 100644 --- a/src/resource.c +++ b/src/resource.c @@ -26,7 +26,6 @@ # include "config.h" #endif -#include "wimlib.h" #include "wimlib/assert.h" #include "wimlib/endianness.h" #include "wimlib/error.h" diff --git a/src/update_image.c b/src/update_image.c index 040afb6b..2577e037 100644 --- a/src/update_image.c +++ b/src/update_image.c @@ -28,6 +28,7 @@ #include "wimlib/capture.h" #include "wimlib/dentry.h" #include "wimlib/encoding.h" +#include "wimlib/endianness.h" #include "wimlib/error.h" #include "wimlib/lookup_table.h" #include "wimlib/metadata.h"