diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-09-19 21:34:44 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-09-19 21:34:44 +0000 |
commit | a4591103c140486435038d38b1873b078c739ee9 (patch) | |
tree | bf2f39423e915a30c02ad043b59d0fab8c16c912 /sys/compat/ibcs2/ibcs2_ioctl.c | |
parent | 573a1b0063785cad158099921624b2c9e100bae4 (diff) |
constify speedtabs and make ttspeedtab() take a const struct speedtab *
Diffstat (limited to 'sys/compat/ibcs2/ibcs2_ioctl.c')
-rw-r--r-- | sys/compat/ibcs2/ibcs2_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/ibcs2/ibcs2_ioctl.c b/sys/compat/ibcs2/ibcs2_ioctl.c index b02eb51978e..90bac72aaeb 100644 --- a/sys/compat/ibcs2/ibcs2_ioctl.c +++ b/sys/compat/ibcs2/ibcs2_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ibcs2_ioctl.c,v 1.11 2002/03/14 01:26:50 millert Exp $ */ +/* $OpenBSD: ibcs2_ioctl.c,v 1.12 2004/09/19 21:34:42 mickey Exp $ */ /* $NetBSD: ibcs2_ioctl.c,v 1.12 1996/08/10 09:08:26 mycroft Exp $ */ /* @@ -72,7 +72,7 @@ * iBCS2 ioctl calls. */ -static struct speedtab sptab[] = { +static const struct speedtab sptab[] = { { 0, 0 }, { 50, 1 }, { 75, 2 }, @@ -93,7 +93,7 @@ static struct speedtab sptab[] = { { -1, -1 } }; -static u_long s2btab[] = { +static const u_long s2btab[] = { 0, 50, 75, |