diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-10-21 22:07:46 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-10-21 22:07:46 +0000 |
commit | 3a1daf896c40b23624423295c78629a1cfd97bb2 (patch) | |
tree | b037669f600c9dd663b19f59e0b42eadc5f8858e /sys/arch/macppc/dev/smu.c | |
parent | bb82df5fbd8018a6d0c3fc7ca256d7d4f9d912b0 (diff) |
Clean up RTC code.
ok drahn@
Diffstat (limited to 'sys/arch/macppc/dev/smu.c')
-rw-r--r-- | sys/arch/macppc/dev/smu.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/macppc/dev/smu.c b/sys/arch/macppc/dev/smu.c index f67f847baf6..d186d34d479 100644 --- a/sys/arch/macppc/dev/smu.c +++ b/sys/arch/macppc/dev/smu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smu.c,v 1.1 2005/10/19 14:46:00 kettenis Exp $ */ +/* $OpenBSD: smu.c,v 1.2 2005/10/21 22:07:45 kettenis Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -90,15 +90,6 @@ smu_match(struct device *parent, void *cf, void *aux) /* XXX */ extern struct powerpc_bus_dma_tag pci_bus_dma_tag; -/* XXX */ -typedef int (clock_read_t)(int *sec, int *min, int *hour, int *day, - int *mon, int *yr); -typedef int (time_read_t)(time_t *sec); -typedef int (time_write_t)(time_t sec); -extern time_read_t *time_read; -extern time_write_t *time_write; -extern clock_read_t *clock_read; - void smu_attach(struct device *parent, struct device *self, void *aux) { @@ -155,7 +146,6 @@ smu_attach(struct device *parent, struct device *self, void *aux) } /* Initialize global variables that control RTC functionality. */ - clock_read = NULL; time_read = smu_time_read; time_write = smu_time_write; |