aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>1997-01-10 17:11:09 +0000
committerKATO Takenori <kato@FreeBSD.org>1997-01-10 17:11:09 +0000
commitaf4342c037529e6e22932850f8fa57a69b81f7f8 (patch)
tree859136d59ac45d7566d26ec717c3d24277d97e3a
parentceb85496faf60ef4585360ffaf99a35346fca702 (diff)
Notes
-rw-r--r--sys/amd64/include/clock.h5
-rw-r--r--sys/i386/include/clock.h5
-rw-r--r--sys/pc98/cbus/clock.c16
-rw-r--r--sys/pc98/cbus/pcrtc.c16
-rw-r--r--sys/pc98/pc98/clock.c16
5 files changed, 29 insertions, 29 deletions
diff --git a/sys/amd64/include/clock.h b/sys/amd64/include/clock.h
index 0f3427febcc8..755167b0cd19 100644
--- a/sys/amd64/include/clock.h
+++ b/sys/amd64/include/clock.h
@@ -3,7 +3,7 @@
* Garrett Wollman, September 1994.
* This file is in the public domain.
*
- * $Id: clock.h,v 1.20 1996/10/25 13:01:08 bde Exp $
+ * $Id: clock.h,v 1.21 1996/10/30 22:38:34 asami Exp $
*/
#ifndef _MACHINE_CLOCK_H_
@@ -57,9 +57,6 @@ int rtcin __P((int val));
#else
int acquire_timer1 __P((int mode));
int release_timer1 __P((void));
-void rtc_serialcombit __P((int i));
-void rtc_serialcom __P((int i));
-void rtc_outb __P((int val));
#endif
int sysbeep __P((int pitch, int period));
diff --git a/sys/i386/include/clock.h b/sys/i386/include/clock.h
index 0f3427febcc8..755167b0cd19 100644
--- a/sys/i386/include/clock.h
+++ b/sys/i386/include/clock.h
@@ -3,7 +3,7 @@
* Garrett Wollman, September 1994.
* This file is in the public domain.
*
- * $Id: clock.h,v 1.20 1996/10/25 13:01:08 bde Exp $
+ * $Id: clock.h,v 1.21 1996/10/30 22:38:34 asami Exp $
*/
#ifndef _MACHINE_CLOCK_H_
@@ -57,9 +57,6 @@ int rtcin __P((int val));
#else
int acquire_timer1 __P((int mode));
int release_timer1 __P((void));
-void rtc_serialcombit __P((int i));
-void rtc_serialcom __P((int i));
-void rtc_outb __P((int val));
#endif
int sysbeep __P((int pitch, int period));
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 2bddae22c403..7af080263ada 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.10 1996/10/30 22:39:48 asami Exp $
+ * $Id: clock.c,v 1.11 1997/01/04 06:38:46 kato Exp $
*/
/*
@@ -169,8 +169,10 @@ static u_char timer1_state;
static u_char timer2_state;
static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
#ifdef PC98
-int rtc_inb __P((void));
-void rtc_outb __P((int));
+static void rtc_serialcombit __P((int));
+static void rtc_serialcom __P((int));
+static int rtc_inb __P((void));
+static void rtc_outb __P((int));
#endif
#if defined(I586_CPU) || defined(I686_CPU)
@@ -824,7 +826,7 @@ startrtclock()
}
#ifdef PC98
-void
+static void
rtc_serialcombit(int i)
{
outb(IO_RTC, ((i&0x01)<<5)|0x07);
@@ -835,7 +837,7 @@ rtc_serialcombit(int i)
DELAY(1);
}
-void
+static void
rtc_serialcom(int i)
{
rtc_serialcombit(i&0x01);
@@ -850,7 +852,7 @@ rtc_serialcom(int i)
DELAY(1);
}
-void
+static void
rtc_outb(int val)
{
int s;
@@ -866,7 +868,7 @@ rtc_outb(int val)
outb(IO_RTC, sa & 0xef); /* CLK 0 */
}
-int
+static int
rtc_inb(void)
{
int s;
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 2bddae22c403..7af080263ada 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.10 1996/10/30 22:39:48 asami Exp $
+ * $Id: clock.c,v 1.11 1997/01/04 06:38:46 kato Exp $
*/
/*
@@ -169,8 +169,10 @@ static u_char timer1_state;
static u_char timer2_state;
static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
#ifdef PC98
-int rtc_inb __P((void));
-void rtc_outb __P((int));
+static void rtc_serialcombit __P((int));
+static void rtc_serialcom __P((int));
+static int rtc_inb __P((void));
+static void rtc_outb __P((int));
#endif
#if defined(I586_CPU) || defined(I686_CPU)
@@ -824,7 +826,7 @@ startrtclock()
}
#ifdef PC98
-void
+static void
rtc_serialcombit(int i)
{
outb(IO_RTC, ((i&0x01)<<5)|0x07);
@@ -835,7 +837,7 @@ rtc_serialcombit(int i)
DELAY(1);
}
-void
+static void
rtc_serialcom(int i)
{
rtc_serialcombit(i&0x01);
@@ -850,7 +852,7 @@ rtc_serialcom(int i)
DELAY(1);
}
-void
+static void
rtc_outb(int val)
{
int s;
@@ -866,7 +868,7 @@ rtc_outb(int val)
outb(IO_RTC, sa & 0xef); /* CLK 0 */
}
-int
+static int
rtc_inb(void)
{
int s;
diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c
index 2bddae22c403..7af080263ada 100644
--- a/sys/pc98/pc98/clock.c
+++ b/sys/pc98/pc98/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.10 1996/10/30 22:39:48 asami Exp $
+ * $Id: clock.c,v 1.11 1997/01/04 06:38:46 kato Exp $
*/
/*
@@ -169,8 +169,10 @@ static u_char timer1_state;
static u_char timer2_state;
static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
#ifdef PC98
-int rtc_inb __P((void));
-void rtc_outb __P((int));
+static void rtc_serialcombit __P((int));
+static void rtc_serialcom __P((int));
+static int rtc_inb __P((void));
+static void rtc_outb __P((int));
#endif
#if defined(I586_CPU) || defined(I686_CPU)
@@ -824,7 +826,7 @@ startrtclock()
}
#ifdef PC98
-void
+static void
rtc_serialcombit(int i)
{
outb(IO_RTC, ((i&0x01)<<5)|0x07);
@@ -835,7 +837,7 @@ rtc_serialcombit(int i)
DELAY(1);
}
-void
+static void
rtc_serialcom(int i)
{
rtc_serialcombit(i&0x01);
@@ -850,7 +852,7 @@ rtc_serialcom(int i)
DELAY(1);
}
-void
+static void
rtc_outb(int val)
{
int s;
@@ -866,7 +868,7 @@ rtc_outb(int val)
outb(IO_RTC, sa & 0xef); /* CLK 0 */
}
-int
+static int
rtc_inb(void)
{
int s;