summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-19 21:34:44 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-19 21:34:44 +0000
commita4591103c140486435038d38b1873b078c739ee9 (patch)
treebf2f39423e915a30c02ad043b59d0fab8c16c912 /sys/kern
parent573a1b0063785cad158099921624b2c9e100bae4 (diff)
constify speedtabs and make ttspeedtab() take a const struct speedtab *
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 6dec67d20fe..20cd1c00897 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.65 2004/06/13 21:49:26 niklas Exp $ */
+/* $OpenBSD: tty.c,v 1.66 2004/09/19 21:34:43 mickey Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@ -2036,7 +2036,7 @@ ttwakeup(tp)
int
ttspeedtab(speed, table)
int speed;
- register struct speedtab *table;
+ const struct speedtab *table;
{
for ( ; table->sp_speed != -1; table++)