summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-19 15:13:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-19 15:13:36 +0000
commitd31edacd1ead7b005d2e2c9368e30e991400abad (patch)
tree80957e140904f83268e47745eaca80278c651493 /sys/arch/mvme88k
parentb6696d46af8c8d0ef269fc5504a30c938c5a8694 (diff)
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
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/dev/nvram.c3
1 files changed, 1 insertions, 2 deletions
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)