From d31edacd1ead7b005d2e2c9368e30e991400abad Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 19 Jun 2006 15:13:36 +0000 Subject: move clock_subr.c to a better place, and now it is always in the kernel so that things can use it; tested on all architectures; ok kettenis --- sys/arch/mvme88k/dev/nvram.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/mvme88k/dev') diff --git a/sys/arch/mvme88k/dev/nvram.c b/sys/arch/mvme88k/dev/nvram.c index 99929bd9023..25d19415aed 100644 --- a/sys/arch/mvme88k/dev/nvram.c +++ b/sys/arch/mvme88k/dev/nvram.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nvram.c,v 1.28 2006/05/08 14:36:10 miod Exp $ */ +/* $OpenBSD: nvram.c,v 1.29 2006/06/19 15:13:35 deraadt Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -169,7 +169,6 @@ microtime(tvp) #define FROMBCD(x) (((x) >> 4) * 10 + ((x) & 0xf)) #define TOBCD(x) (((x) / 10 * 16) + ((x) % 10)) -#define SECDAY (24 * 60 * 60) #define SECYR (SECDAY * 365) #define LEAPYEAR(y) (((y) & 3) == 0) -- cgit v1.2.3