summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-17 22:50:02 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-17 22:50:02 +0000
commit339ea9e70bc64ceeb31ec8708d986b7eca102d90 (patch)
tree4cc09df3f1be7e46d8e4c0f206013c50c2708612 /sys/arch/i386/stand/libsa
parent25a7373aaed232f6a9405ba613231ad4aee92e34 (diff)
proper const
Diffstat (limited to 'sys/arch/i386/stand/libsa')
-rw-r--r--sys/arch/i386/stand/libsa/debug.c10
-rw-r--r--sys/arch/i386/stand/libsa/debug.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/i386/stand/libsa/debug.c b/sys/arch/i386/stand/libsa/debug.c
index 8f1b6449582..ebe06e638bb 100644
--- a/sys/arch/i386/stand/libsa/debug.c
+++ b/sys/arch/i386/stand/libsa/debug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: debug.c,v 1.3 1997/04/09 08:39:29 mickey Exp $ */
+/* $OpenBSD: debug.c,v 1.4 1997/07/17 22:50:01 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -32,14 +32,14 @@
*
*/
-#include <stand.h>
+#include <lib/libsa/stand.h>
#include <debug.h>
-const char *reg_names[] = { REG_NAMES };
+char *const reg_names[] = { REG_NAMES };
const int nreg = NENTS(reg_names);
struct reg reg;
-const u_int32_t *reg_values[] = { REG_VALUES(reg) };
-const char *trap_names[] = { TRAP_NAMES };
+u_int32_t *const reg_values[] = { REG_VALUES(reg) };
+char *const trap_names[] = { TRAP_NAMES };
int
debug_init()
diff --git a/sys/arch/i386/stand/libsa/debug.h b/sys/arch/i386/stand/libsa/debug.h
index c3bfc5ec808..5f169b8d628 100644
--- a/sys/arch/i386/stand/libsa/debug.h
+++ b/sys/arch/i386/stand/libsa/debug.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: debug.h,v 1.2 1997/04/04 04:47:46 mickey Exp $ */
+/* $OpenBSD: debug.h,v 1.3 1997/07/17 22:50:01 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -35,7 +35,7 @@
#include <debug_md.h>
#include <machine/reg.h>
-extern const char *reg_names[];
+extern char *const reg_names[];
extern const size_t nregs;
int debug_init __P((void));