summaryrefslogtreecommitdiff
path: root/sys/compat/sunos
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/compat/sunos
parent573a1b0063785cad158099921624b2c9e100bae4 (diff)
constify speedtabs and make ttspeedtab() take a const struct speedtab *
Diffstat (limited to 'sys/compat/sunos')
-rw-r--r--sys/compat/sunos/sunos_ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/sunos/sunos_ioctl.c b/sys/compat/sunos/sunos_ioctl.c
index 188f77c14d0..7595ef9ee00 100644
--- a/sys/compat/sunos/sunos_ioctl.c
+++ b/sys/compat/sunos/sunos_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunos_ioctl.c,v 1.15 2004/02/01 15:39:38 miod Exp $ */
+/* $OpenBSD: sunos_ioctl.c,v 1.16 2004/09/19 21:34:43 mickey Exp $ */
/* $NetBSD: sunos_ioctl.c,v 1.23 1996/03/14 19:33:46 christos Exp $ */
/*
@@ -55,7 +55,7 @@
* Support gets added as things turn up....
*/
-static struct speedtab sptab[] = {
+static const struct speedtab sptab[] = {
{ 0, 0 },
{ 50, 1 },
{ 75, 2 },
@@ -76,7 +76,7 @@ static struct speedtab sptab[] = {
{ -1, -1 }
};
-static u_long s2btab[] = {
+static const u_long s2btab[] = {
0,
50,
75,