summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2004-09-19 21:58:41 +0000
committermickey <mickey@openbsd.org>2004-09-19 21:58:41 +0000
commit1eb659e99588171638782c0f13cc92546ae6ea77 (patch)
tree75df0aaa322f7de69fc81ed9722388ebfe18151c
parentressurect hpux_sig.c and implement just the different parts in arch/hpux_sig2.c (diff)
downloadwireguard-openbsd-1eb659e99588171638782c0f13cc92546ae6ea77.tar.xz
wireguard-openbsd-1eb659e99588171638782c0f13cc92546ae6ea77.zip
const this speedtab too
-rw-r--r--sys/compat/hpux/hpux_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/hpux/hpux_tty.c b/sys/compat/hpux/hpux_tty.c
index 9382cecc8c3..c0274b6c954 100644
--- a/sys/compat/hpux/hpux_tty.c
+++ b/sys/compat/hpux/hpux_tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hpux_tty.c,v 1.11 2004/07/10 22:37:33 mickey Exp $ */
+/* $OpenBSD: hpux_tty.c,v 1.12 2004/09/19 21:58:41 mickey Exp $ */
/* $NetBSD: hpux_tty.c,v 1.14 1997/04/01 19:59:05 scottr Exp $ */
/*
@@ -462,7 +462,7 @@ int
hpuxtobsdbaud(hpux_speed)
int hpux_speed;
{
- static int hpuxtobsdbaudtab[32] = {
+ static const int hpuxtobsdbaudtab[32] = {
B0, B50, B75, B110, B134, B150, B200, B300,
B600, B0, B1200, B1800, B2400, B0, B4800, B0,
B9600, B19200, B38400, B0, B0, B0, B0, B0,