mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Moved the definition of `boottime' and its sysctl to the correct file.
This commit is contained in:
parent
34d32cd340
commit
37d3877723
3 changed files with 8 additions and 4 deletions
|
|
@ -95,10 +95,6 @@ extern struct user *proc0paddr;
|
|||
struct vnode *rootvp;
|
||||
int boothowto = 0; /* initialized so that it can be patched */
|
||||
|
||||
struct timeval boottime;
|
||||
SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, CTLFLAG_RD,
|
||||
&boottime, timeval, "System boottime");
|
||||
|
||||
/*
|
||||
* Promiscuous argument pass for start_init()
|
||||
*
|
||||
|
|
|
|||
|
|
@ -101,6 +101,10 @@ long tk_rawcc;
|
|||
|
||||
time_t time_second;
|
||||
|
||||
struct timeval boottime;
|
||||
SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, CTLFLAG_RD,
|
||||
&boottime, timeval, "System boottime");
|
||||
|
||||
/*
|
||||
* Which update policy to use.
|
||||
* 0 - every tick, bad hardware may fail with "calcru negative..."
|
||||
|
|
|
|||
|
|
@ -101,6 +101,10 @@ long tk_rawcc;
|
|||
|
||||
time_t time_second;
|
||||
|
||||
struct timeval boottime;
|
||||
SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, CTLFLAG_RD,
|
||||
&boottime, timeval, "System boottime");
|
||||
|
||||
/*
|
||||
* Which update policy to use.
|
||||
* 0 - every tick, bad hardware may fail with "calcru negative..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue