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$");
|
||||
|
||||
#ifdef KERNEL
|
||||
#include "afs_atomlist.h"
|
||||
#include "afs_lhash.h"
|
||||
#else /* KERNEL */
|
||||
#include "afs_atomlist.h"
|
||||
#include "afs_lhash.h"
|
||||
#ifndef KERNEL
|
||||
/* for now, only turn on assertions in user-space code */
|
||||
#include <assert.h>
|
||||
#define CHECK_INVARIANTS
|
||||
#endif /* KERNEL */
|
||||
#endif /* !KERNEL */
|
||||
|
||||
/* max hash table load factor */
|
||||
enum { LOAD_FACTOR = 5 };
|
||||
|
@ -28,7 +28,7 @@
|
||||
#ifndef AFS_LHASH_H
|
||||
#define AFS_LHASH_H
|
||||
|
||||
#ifndef KERNEL
|
||||
#if !defined(KERNEL) || defined(UKERNEL)
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user