Header refactoring: hash - unify and remove from catchall.

This commit is contained in:
David Goldblatt 2017-04-24 17:16:36 -07:00 committed by David Goldblatt
parent 89e2d3c12b
commit dab4beb277
5 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#ifndef JEMALLOC_INTERNAL_HASH_INLINES_H
#define JEMALLOC_INTERNAL_HASH_INLINES_H
#ifndef JEMALLOC_INTERNAL_HASH_H
#define JEMALLOC_INTERNAL_HASH_H
#include "jemalloc/internal/assert.h"
@ -315,4 +315,4 @@ hash(const void *key, size_t len, const uint32_t seed, size_t r_hash[2]) {
#endif
}
#endif /* JEMALLOC_INTERNAL_HASH_INLINES_H */
#endif /* JEMALLOC_INTERNAL_HASH_H */

View File

@ -107,7 +107,6 @@
#include "jemalloc/internal/jemalloc_internal_inlines_b.h"
#include "jemalloc/internal/tcache_inlines.h"
#include "jemalloc/internal/arena_inlines_b.h"
#include "jemalloc/internal/hash_inlines.h"
#include "jemalloc/internal/jemalloc_internal_inlines_c.h"
#include "jemalloc/internal/prof_inlines_b.h"

View File

@ -42,6 +42,7 @@
#include "jemalloc/internal/jemalloc_internal_includes.h"
#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/hash.h"
#include "jemalloc/internal/malloc_io.h"
#include "jemalloc/internal/prng.h"
#include "jemalloc/internal/util.h"

View File

@ -4,6 +4,7 @@
#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/ckh.h"
#include "jemalloc/internal/hash.h"
#include "jemalloc/internal/malloc_io.h"
/******************************************************************************/

View File

@ -28,6 +28,7 @@
*/
#include "test/jemalloc_test.h"
#include "jemalloc/internal/hash.h"
typedef enum {
hash_variant_x86_32,