Cleanup included headers in hash.c using iwyu

This commit is contained in:
Ondřej Surý 2018-03-28 13:59:57 +02:00
parent 860d4f6177
commit 3c092eff4a
2 changed files with 11 additions and 12 deletions

View file

@ -13,17 +13,15 @@
* 32 bit Fowler/Noll/Vo FNV-1a hash code with modification for BIND
*/
#include <config.h>
#include <isc/entropy.h>
#include <isc/hash.h>
#include <isc/mem.h>
#include <isc/magic.h>
#include <isc/mutex.h>
#include <isc/once.h>
#include <isc/random.h>
#include <isc/refcount.h>
#include <isc/string.h>
#include <isc/util.h>
#include <config.h> // IWYU pragma: keep
#include <stddef.h>
#include "isc/once.h"
#include "isc/random.h"
#include "isc/util.h"
#include "isc/types.h"
#include "isc/likely.h"
#include "isc/result.h"
#include "isc/hash.h" // IWYU pragma: keep
static isc_uint32_t fnv_offset_basis;
static isc_once_t fnv_once = ISC_ONCE_INIT;

View file

@ -12,7 +12,8 @@
#ifndef ISC_HASH_H
#define ISC_HASH_H 1
#include <isc/types.h>
#include "isc/lang.h"
#include "isc/types.h"
/***
*** Functions