Move boottime from <sys/kernel.h> to <sys/time.h> where it belongs.
This commit is contained in:
parent
db42ff97da
commit
7314dafb6f
@ -66,7 +66,6 @@ extern int domainnamelen;
|
||||
extern char kernelname[MAXPATHLEN];
|
||||
|
||||
/* 1.2 */
|
||||
extern struct timeval boottime;
|
||||
|
||||
extern int tick; /* usec per tick (1000000 / hz) */
|
||||
extern int hz; /* system clock's frequency */
|
||||
|
@ -253,6 +253,7 @@ struct clockinfo {
|
||||
#ifdef _KERNEL
|
||||
extern time_t time_second;
|
||||
extern time_t time_uptime;
|
||||
extern struct timeval boottime;
|
||||
|
||||
/*
|
||||
* Functions for looking at our clock: [get]{bin,nano,micro}[up]time()
|
||||
|
Loading…
x
Reference in New Issue
Block a user