summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-11-23 21:47:14 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-11-23 21:47:14 +0000
commit728527f840ec82a566f72f3cec384e341ac59a4c (patch)
treef9b921355a0db868e86c0df2976673aee9af1339 /sys/arch/i386
parent306adfe37a19b924bfe990750192540a4af86079 (diff)
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/conf.c3
-rw-r--r--sys/arch/i386/i386/mainbus.c6
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c
index 73f5bcb301b..758acdc6925 100644
--- a/sys/arch/i386/i386/conf.c
+++ b/sys/arch/i386/i386/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.29 1996/11/11 20:47:24 kstailey Exp $ */
+/* $OpenBSD: conf.c,v 1.30 1996/11/23 21:45:48 kstailey Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
@@ -138,7 +138,6 @@ cdev_decl(acd);
#include "lpt.h"
cdev_decl(lpt);
#include "ch.h"
-cdev_decl(ch);
dev_decl(filedesc,open);
#include "bpfilter.h"
#include "pcmcia.h"
diff --git a/sys/arch/i386/i386/mainbus.c b/sys/arch/i386/i386/mainbus.c
index a8b3951f0bd..3f230e1649e 100644
--- a/sys/arch/i386/i386/mainbus.c
+++ b/sys/arch/i386/i386/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.6 1996/11/12 20:29:57 niklas Exp $ */
+/* $OpenBSD: mainbus.c,v 1.7 1996/11/23 21:45:49 kstailey Exp $ */
/* $NetBSD: mainbus.c,v 1.8 1996/04/11 22:13:37 cgd Exp $ */
/*
@@ -62,7 +62,7 @@ struct cfdriver mainbus_cd = {
NULL, "mainbus", DV_DULL
};
-int mainbus_print __P((void *, char *));
+int mainbus_print __P((void *, const char *));
union mainbus_attach_args {
const char *mba_busname; /* first elem of all */
@@ -137,7 +137,7 @@ mainbus_attach(parent, self, aux)
int
mainbus_print(aux, pnp)
void *aux;
- char *pnp;
+ const char *pnp;
{
union mainbus_attach_args *mba = aux;