summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pcrtc.c
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2002-03-20 12:22:31 +0000
committerkato <kato@FreeBSD.org>2002-03-20 12:22:31 +0000
commit471dbdd86dcab1f44f21cbf31873b245e91e862a (patch)
tree767ea75c6c412d6668619add3b30606991deffaa /sys/pc98/cbus/pcrtc.c
parentbb970de1a3dd0e26635f0270a58cb31411036609 (diff)
downloadFreeBSD-src-471dbdd86dcab1f44f21cbf31873b245e91e862a.zip
FreeBSD-src-471dbdd86dcab1f44f21cbf31873b245e91e862a.tar.gz
Remove __P.
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r--sys/pc98/cbus/pcrtc.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 2834dca..b8b9e3f 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -109,8 +109,8 @@
#include <i386/isa/intr_machdep.h>
/* The interrupt triggered by the 8254 (timer) chip */
int apic_8254_intr;
-static u_long read_intr_count __P((int vec));
-static void setup_8254_mixed_mode __P((void));
+static u_long read_intr_count(int vec);
+static void setup_8254_mixed_mode(void);
#endif
/*
@@ -169,7 +169,7 @@ static int i8254_ticked;
* timer0_state == 0 case. We should use inthand_add()/inthand_remove()
* to switch between clkintr() and a slightly different timerintr().
*/
-static void (*new_function) __P((struct clockframe *frame));
+static void (*new_function)(struct clockframe *frame);
static u_int new_rate;
#ifndef PC98
static u_char rtc_statusa = RTCSA_DIVIDER | RTCSA_NOPROF;
@@ -188,16 +188,16 @@ static u_char timer0_state;
static u_char timer1_state;
#endif
static u_char timer2_state;
-static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
+static void (*timer_func)(struct clockframe *frame) = hardclock;
#ifdef PC98
-static void rtc_serialcombit __P((int));
-static void rtc_serialcom __P((int));
-static int rtc_inb __P((void));
-static void rtc_outb __P((int));
+static void rtc_serialcombit(int);
+static void rtc_serialcom(int);
+static int rtc_inb(void);
+static void rtc_outb(int);
#endif
-static unsigned i8254_get_timecount __P((struct timecounter *tc));
-static unsigned tsc_get_timecount __P((struct timecounter *tc));
+static unsigned i8254_get_timecount(struct timecounter *tc);
+static unsigned tsc_get_timecount(struct timecounter *tc);
static void set_timer_freq(u_int freq, int intr_freq);
static struct timecounter tsc_timecounter = {
@@ -304,7 +304,7 @@ clkintr(struct clockframe frame)
* The acquire and release functions must be called at ipl >= splclock().
*/
int
-acquire_timer0(int rate, void (*function) __P((struct clockframe *frame)))
+acquire_timer0(int rate, void (*function)(struct clockframe *frame))
{
static int old_rate;
OpenPOWER on IntegriCloud