rtclockinit() and range_test*() were removed in rtclock.c,v 1.19.

This commit is contained in:
isaki 2009-01-03 09:32:13 +00:00
parent 04973974b4
commit 8cb1e6831d
3 changed files with 5 additions and 14 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtclock.c,v 1.22 2008/06/25 08:14:59 isaki Exp $ */
/* $NetBSD: rtclock.c,v 1.23 2009/01/03 09:32:13 isaki Exp $ */
/*
* Copyright 1993, 1994 Masaru Oki
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rtclock.c,v 1.22 2008/06/25 08:14:59 isaki Exp $");
__KERNEL_RCSID(0, "$NetBSD: rtclock.c,v 1.23 2009/01/03 09:32:13 isaki Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -61,8 +61,6 @@ static int rtsettod(todr_chip_handle_t, struct clock_ymdhms *);
static int rtc_match(device_t, cfdata_t, void *);
static void rtc_attach(device_t, device_t, void *);
int rtclockinit(void);
CFATTACH_DECL_NEW(rtc, sizeof(struct rtc_softc),
rtc_match, rtc_attach, NULL, NULL);

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtclock_var.h,v 1.10 2008/06/25 08:14:59 isaki Exp $ */
/* $NetBSD: rtclock_var.h,v 1.11 2009/01/03 09:32:13 isaki Exp $ */
/*
* Copyright 1993, 1994 Masaru Oki
@ -91,8 +91,4 @@ struct rtc_softc {
#define RTC_BASE_YEAR 1980
#define range_test(n, l, h) if ((n) < (l) || (n) > (h)) return(0)
#define range_test0(n, h) if ((unsigned)(n) > (h)) return(0)
/* cast to unsigned in case n is signed */
#endif /* _RTCLOCKVAR_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.154 2008/11/30 18:21:36 martin Exp $ */
/* $NetBSD: machdep.c,v 1.155 2009/01/03 09:32:13 isaki Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.154 2008/11/30 18:21:36 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.155 2009/01/03 09:32:13 isaki Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -263,9 +263,6 @@ cpu_startup(void)
pmapdebug = 0;
#endif
#if 0
rtclockinit(); /* XXX */
#endif
if (fputype != FPU_NONE)
m68k_make_fpu_idle_frame();