mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
lhash-includes-cleanup-20021027
make stddef be included when building ukernel so NULL is defined cleanup redundancy
This commit is contained in:
parent
e1f2501c4f
commit
76b9b95174
@ -12,16 +12,13 @@
|
|||||||
|
|
||||||
RCSID("$Header$");
|
RCSID("$Header$");
|
||||||
|
|
||||||
#ifdef KERNEL
|
|
||||||
#include "afs_atomlist.h"
|
|
||||||
#include "afs_lhash.h"
|
|
||||||
#else /* KERNEL */
|
|
||||||
#include "afs_atomlist.h"
|
#include "afs_atomlist.h"
|
||||||
#include "afs_lhash.h"
|
#include "afs_lhash.h"
|
||||||
|
#ifndef KERNEL
|
||||||
/* for now, only turn on assertions in user-space code */
|
/* for now, only turn on assertions in user-space code */
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#define CHECK_INVARIANTS
|
#define CHECK_INVARIANTS
|
||||||
#endif /* KERNEL */
|
#endif /* !KERNEL */
|
||||||
|
|
||||||
/* max hash table load factor */
|
/* max hash table load factor */
|
||||||
enum { LOAD_FACTOR = 5 };
|
enum { LOAD_FACTOR = 5 };
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#ifndef AFS_LHASH_H
|
#ifndef AFS_LHASH_H
|
||||||
#define AFS_LHASH_H
|
#define AFS_LHASH_H
|
||||||
|
|
||||||
#ifndef KERNEL
|
#if !defined(KERNEL) || defined(UKERNEL)
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user