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/ultrix/ultrix_ioctl.c | |
parent | 573a1b0063785cad158099921624b2c9e100bae4 (diff) |
constify speedtabs and make ttspeedtab() take a const struct speedtab *
Diffstat (limited to 'sys/compat/ultrix/ultrix_ioctl.c')
-rw-r--r-- | sys/compat/ultrix/ultrix_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/ultrix/ultrix_ioctl.c b/sys/compat/ultrix/ultrix_ioctl.c index 9f96b4b5a28..cd719ea24e5 100644 --- a/sys/compat/ultrix/ultrix_ioctl.c +++ b/sys/compat/ultrix/ultrix_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_ioctl.c,v 1.10 2003/08/06 21:08:06 millert Exp $ */ +/* $OpenBSD: ultrix_ioctl.c,v 1.11 2004/09/19 21:34:43 mickey Exp $ */ /* $NetBSD: ultrix_ioctl.c,v 1.3.4.1 1996/06/13 18:22:37 jonathan Exp $ */ /* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */ @@ -58,7 +58,7 @@ * Support gets added as things turn up.... */ -static struct speedtab sptab[] = { +static const struct speedtab sptab[] = { { 0, 0 }, { 50, 1 }, { 75, 2 }, @@ -79,7 +79,7 @@ static struct speedtab sptab[] = { { -1, -1 } }; -static u_long s2btab[] = { +static const u_long s2btab[] = { 0, 50, 75, |