summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2001-01-26 22:15:04 +0000
committermickey <mickey@openbsd.org>2001-01-26 22:15:04 +0000
commitc79470dfc7d53f940456e3aff61e0f6521a6bfbb (patch)
tree04c3de68dadb7581d636067593f0f6f5fe03dbf8 /sys
parentPreliminary but working code to permit IKE authentication using DNSSEC (diff)
downloadwireguard-openbsd-c79470dfc7d53f940456e3aff61e0f6521a6bfbb.tar.xz
wireguard-openbsd-c79470dfc7d53f940456e3aff61e0f6521a6bfbb.zip
constify nam2blk
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/autoconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/autoconf.c b/sys/arch/hppa/hppa/autoconf.c
index d7c1b7032a7..5e43f59e940 100644
--- a/sys/arch/hppa/hppa/autoconf.c
+++ b/sys/arch/hppa/hppa/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.10 2000/04/06 20:05:39 todd Exp $ */
+/* $OpenBSD: autoconf.c,v 1.11 2001/01/26 22:15:04 mickey Exp $ */
/*
* Copyright (c) 1998-2000 Michael Shalayeff
@@ -212,8 +212,8 @@ bad:
return;
}
-struct nam2blk {
- char *name;
+const struct nam2blk {
+ char name[4];
int maj;
} nam2blk[] = {
{ "st", 2 },