diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-09-19 13:55:23 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-10-18 20:09:05 +0200 |
commit | 0f5262917fab34b44b43f63946fdf6bb0621875a (patch) | |
tree | 07e449767f00310ef038d786688f891600a01b4d /zfs | |
parent | 29346d05616ce69e5988b3f1257c340f91299602 (diff) |
Make all required includes explicit
Information as seen by IWYU 0.12 + clang 9 on Linux
Diffstat (limited to 'zfs')
-rw-r--r-- | zfs/ZfsArcMeter.c | 13 | ||||
-rw-r--r-- | zfs/ZfsCompressedArcMeter.c | 15 |
2 files changed, 6 insertions, 22 deletions
diff --git a/zfs/ZfsArcMeter.c b/zfs/ZfsArcMeter.c index acfe13f2..55ef2c56 100644 --- a/zfs/ZfsArcMeter.c +++ b/zfs/ZfsArcMeter.c @@ -9,19 +9,10 @@ in the source distribution for its full text. #include "ZfsArcStats.h" #include "CRT.h" +#include "Object.h" #include "Platform.h" +#include "RichString.h" -#include <stdlib.h> -#include <string.h> -#include <math.h> -#include <sys/param.h> -#include <assert.h> - -/*{ -#include "ZfsArcStats.h" - -#include "Meter.h" -}*/ static const int ZfsArcMeter_attributes[] = { ZFS_MFU, ZFS_MRU, ZFS_ANON, ZFS_HEADER, ZFS_OTHER diff --git a/zfs/ZfsCompressedArcMeter.c b/zfs/ZfsCompressedArcMeter.c index 0153fccb..0a67c7ed 100644 --- a/zfs/ZfsCompressedArcMeter.c +++ b/zfs/ZfsCompressedArcMeter.c @@ -6,23 +6,16 @@ in the source distribution for its full text. */ #include "ZfsCompressedArcMeter.h" -#include "ZfsArcStats.h" #include "CRT.h" +#include "Meter.h" +#include "Object.h" #include "Platform.h" +#include "RichString.h" #include "XUtils.h" -#include <stdlib.h> -#include <string.h> -#include <math.h> -#include <sys/param.h> -#include <assert.h> - -/*{ -#include "ZfsArcStats.h" +#include "zfs/ZfsArcStats.h" -#include "Meter.h" -}*/ static const int ZfsCompressedArcMeter_attributes[] = { ZFS_COMPRESSED |