summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/cbus/clock.c6
-rw-r--r--sys/pc98/cbus/pcrtc.c6
-rw-r--r--sys/pc98/pc98/clock.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 1137b46..8130749 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.53 1998/05/04 07:47:24 kato Exp $
+ * $Id: clock.c,v 1.54 1998/05/20 13:38:42 kato Exp $
*/
/*
@@ -1407,7 +1407,7 @@ sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS
SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_tsc_freq, "I", "");
-static u_int
+static unsigned
i8254_get_timecount(void)
{
u_int count;
@@ -1436,7 +1436,7 @@ i8254_get_timecount(void)
return (count);
}
-static u_int
+static unsigned
tsc_get_timecount(void)
{
return (rdtsc());
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 1137b46..8130749 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.53 1998/05/04 07:47:24 kato Exp $
+ * $Id: clock.c,v 1.54 1998/05/20 13:38:42 kato Exp $
*/
/*
@@ -1407,7 +1407,7 @@ sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS
SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_tsc_freq, "I", "");
-static u_int
+static unsigned
i8254_get_timecount(void)
{
u_int count;
@@ -1436,7 +1436,7 @@ i8254_get_timecount(void)
return (count);
}
-static u_int
+static unsigned
tsc_get_timecount(void)
{
return (rdtsc());
diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c
index 1137b46..8130749 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.53 1998/05/04 07:47:24 kato Exp $
+ * $Id: clock.c,v 1.54 1998/05/20 13:38:42 kato Exp $
*/
/*
@@ -1407,7 +1407,7 @@ sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS
SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_tsc_freq, "I", "");
-static u_int
+static unsigned
i8254_get_timecount(void)
{
u_int count;
@@ -1436,7 +1436,7 @@ i8254_get_timecount(void)
return (count);
}
-static u_int
+static unsigned
tsc_get_timecount(void)
{
return (rdtsc());
OpenPOWER on IntegriCloud