make stddef be included when building ukernel so NULL is defined
cleanup redundancy
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 };
#ifndef AFS_LHASH_H
#define AFS_LHASH_H
-#ifndef KERNEL
+#if !defined(KERNEL) || defined(UKERNEL)
#include <stddef.h>
#endif