summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2020-05-17 08:48:16 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2020-05-17 08:48:16 +0000
commita2641293a79c45152258468d4a3f85f51ad25414 (patch)
treeebd9138c0f2e1a846debaff5315bb348af8fef80 /sys
parent1d3ba9a09d8db1e74832debcc667231208be6f74 (diff)
Do not redefine todr_handle. The variable now lives in kern_time.c.
OK kettenis@ cheloha@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/clock.c b/sys/arch/sparc64/sparc64/clock.c
index f1a4e453ae7..fd5e8a9c15b 100644
--- a/sys/arch/sparc64/sparc64/clock.c
+++ b/sys/arch/sparc64/sparc64/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.60 2020/04/28 12:24:20 kettenis Exp $ */
+/* $OpenBSD: clock.c,v 1.61 2020/05/17 08:48:15 visa Exp $ */
/* $NetBSD: clock.c,v 1.41 2001/07/24 19:29:25 eeh Exp $ */
/*
@@ -170,7 +170,7 @@ struct cfattach clock_fhc_ca = {
};
/* Global TOD clock handle & idprom pointer */
-todr_chip_handle_t todr_handle = NULL;
+extern todr_chip_handle_t todr_handle;
static struct idprom *idprom;
static int timermatch(struct device *, void *, void *);