Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/isa move a prototype back inside an #ifdef -- ...



details:   https://anonhg.NetBSD.org/src/rev/9bcb0a4ffb3f
branches:  trunk
changeset: 573634:9bcb0a4ffb3f
user:      perry <perry%NetBSD.org@localhost>
date:      Thu Feb 03 21:54:49 2005 +0000

description:
move a prototype back inside an #ifdef -- my GENERIC kernels worked
fine with it in the new place, but compiling another kernel found that
it wasn't a good idea.

diffstat:

 sys/arch/i386/isa/clock.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 08b1f107af28 -r 9bcb0a4ffb3f sys/arch/i386/isa/clock.c
--- a/sys/arch/i386/isa/clock.c Thu Feb 03 21:38:59 2005 +0000
+++ b/sys/arch/i386/isa/clock.c Thu Feb 03 21:54:49 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock.c,v 1.85 2005/02/03 21:08:58 perry Exp $ */
+/*     $NetBSD: clock.c,v 1.86 2005/02/03 21:54:49 perry Exp $ */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -121,7 +121,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.85 2005/02/03 21:08:58 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.86 2005/02/03 21:54:49 perry Exp $");
 
 /* #define CLOCKDEBUG */
 /* #define CLOCK_PARANOIA */
@@ -187,7 +187,6 @@
 int    bintobcd(int);
 
 static int cmoscheck(void);
-static int cmoscheckps2(void);
 
 static int clock_expandyear(int);
 
@@ -689,6 +688,7 @@
 /*
  * Check whether the CMOS layout is PS/2 like, to be called at splclock().
  */
+static int cmoscheckps2(void);
 static int
 cmoscheckps2(void)
 {



Home | Main Index | Thread Index | Old Index