Make it possible to test kernel code in a userland harness, even if it

uses MAKE_SET or derivatives and <sys/time.h> at the same time...
This commit is contained in:
Poul-Henning Kamp 1997-01-01 21:07:15 +00:00
parent 6412184028
commit 4dd8ff7e43
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21175

View File

@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* @(#)kernel.h 8.3 (Berkeley) 1/21/94
* $Id: kernel.h,v 1.21 1996/09/03 22:52:26 bde Exp $
* $Id: kernel.h,v 1.22 1996/09/20 14:36:14 bde Exp $
*/
#ifndef _SYS_KERNEL_H_
@ -47,6 +47,7 @@
/* Global variables for the kernel. */
#ifdef KERNEL
/* 1.1 */
extern long hostid;
extern char hostname[MAXHOSTNAMELEN];
@ -72,6 +73,7 @@ extern int lbolt; /* once a second sleep address */
extern int tickdelta;
extern long timedelta;
#endif /* KERNEL */
/*
* The following macros are used to declare global sets of objects, which
* are collected by the linker into a `struct linker_set' as defined below.