Catch up with recent clock modifications:
- include <sys/clock.h> for inittodr prototype - remove now-conflicting SECDAY definition that is in <sys/clock.h>
This commit is contained in:
parent
312a0e5f06
commit
46acbb7554
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163021
@ -63,6 +63,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/clock.h>
|
||||
#include <sys/timetc.h>
|
||||
#include <sys/interrupt.h>
|
||||
|
||||
@ -82,7 +83,6 @@ static u_long ticks_per_sec = 12500000;
|
||||
static long ticks_per_intr;
|
||||
static volatile u_long lasttb;
|
||||
|
||||
#define SECDAY 86400
|
||||
#define DIFF19041970 2082844800
|
||||
|
||||
static int clockinitted = 0;
|
||||
|
@ -63,6 +63,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/bus.h>
|
||||
#include <sys/clock.h>
|
||||
#include <sys/timetc.h>
|
||||
#include <sys/interrupt.h>
|
||||
|
||||
@ -82,7 +83,6 @@ static u_long ticks_per_sec = 12500000;
|
||||
static long ticks_per_intr;
|
||||
static volatile u_long lasttb;
|
||||
|
||||
#define SECDAY 86400
|
||||
#define DIFF19041970 2082844800
|
||||
|
||||
static int clockinitted = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user