summaryrefslogtreecommitdiff
path: root/sys/arch/pmax
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/pmax
parent306adfe37a19b924bfe990750192540a4af86079 (diff)
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/arch/pmax')
-rw-r--r--sys/arch/pmax/dev/sii.c2
-rw-r--r--sys/arch/pmax/pmax/cpu.c2
-rw-r--r--sys/arch/pmax/pmax/mainbus.c4
-rw-r--r--sys/arch/pmax/tc/asic.c4
-rw-r--r--sys/arch/pmax/tc/tc.c2
-rw-r--r--sys/arch/pmax/tc/tc_subr.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/pmax/dev/sii.c b/sys/arch/pmax/dev/sii.c
index e0d310d8f1a..f170f614ee6 100644
--- a/sys/arch/pmax/dev/sii.c
+++ b/sys/arch/pmax/dev/sii.c
@@ -112,7 +112,7 @@ struct siisoftc {
*/
int siimatch __P((struct device * parent, void *cfdata, void *aux));
void siiattach __P((struct device *parent, struct device *self, void *aux));
-int siiprint(void*, char*);
+int siiprint(void*, const char*);
int sii_doprobe __P((void *addr, int unit, int flags, int pri,
struct device *self));
diff --git a/sys/arch/pmax/pmax/cpu.c b/sys/arch/pmax/pmax/cpu.c
index fb01b0a071d..7d1ea548b56 100644
--- a/sys/arch/pmax/pmax/cpu.c
+++ b/sys/arch/pmax/pmax/cpu.c
@@ -83,7 +83,7 @@ cpuattach(parent, dev, aux)
static int
cpuprint(aux, pnp)
void *aux;
- char *pnp;
+ const char *pnp;
{
register struct confargs *ca = aux;
diff --git a/sys/arch/pmax/pmax/mainbus.c b/sys/arch/pmax/pmax/mainbus.c
index cd4c9118b56..7d409bacd1a 100644
--- a/sys/arch/pmax/pmax/mainbus.c
+++ b/sys/arch/pmax/pmax/mainbus.c
@@ -54,7 +54,7 @@ struct mainbus_softc {
/* Definition of the mainbus driver. */
static int mbmatch __P((struct device *, void *, void *));
static void mbattach __P((struct device *, struct device *, void *));
-static int mbprint __P((void *, char *));
+static int mbprint __P((void *, const char *));
struct cfattach mainbus_ca = {
sizeof (struct mainbus_softc), mbmatch, mbattach
@@ -238,7 +238,7 @@ dev slot > number of slots for %s",
static int
mbprint(aux, pnp)
void *aux;
- char *pnp;
+ const char *pnp;
{
if (pnp)
diff --git a/sys/arch/pmax/tc/asic.c b/sys/arch/pmax/tc/asic.c
index 35322ff97ab..98e89b22af4 100644
--- a/sys/arch/pmax/tc/asic.c
+++ b/sys/arch/pmax/tc/asic.c
@@ -69,7 +69,7 @@ struct asic_softc {
/* Definition of the driver for autoconfig. */
int asicmatch __P((struct device *, void *, void *));
void asicattach __P((struct device *, struct device *, void *));
-int asicprint(void *, char *);
+int asicprint(void *, const char *);
/* Device locators. */
#define ioasiccf_offset cf_loc[0] /* offset */
@@ -248,7 +248,7 @@ asicattach(parent, self, aux)
int
asicprint(aux, pnp)
void *aux;
- char *pnp;
+ const char *pnp;
{
struct ioasicdev_attach_args *d = aux;
diff --git a/sys/arch/pmax/tc/tc.c b/sys/arch/pmax/tc/tc.c
index 5286817d781..5b209e7df01 100644
--- a/sys/arch/pmax/tc/tc.c
+++ b/sys/arch/pmax/tc/tc.c
@@ -68,7 +68,7 @@ extern struct tc_attach_args * cpu_tcdesc __P ((int cputype));
/* Definition of the driver for autoconfig. */
int tcmatch(struct device *, void *, void *);
void tcattach(struct device *, struct device *, void *);
-int tcprint(void *, char *);
+int tcprint(void *, const char *);
void tc_ds_intr_establish __P((struct device *, void *, tc_intrlevel_t,
intr_handler_t handler, intr_arg_t arg));
diff --git a/sys/arch/pmax/tc/tc_subr.c b/sys/arch/pmax/tc/tc_subr.c
index e566b739d5e..7666184df16 100644
--- a/sys/arch/pmax/tc/tc_subr.c
+++ b/sys/arch/pmax/tc/tc_subr.c
@@ -35,7 +35,7 @@ extern struct tcbus_attach_args * cpu_tcdesc __P ((int cputype));
/* Definition of the driver for autoconfig. */
int tcmatch(struct device *, void *, void *);
void tcattach(struct device *, struct device *, void *);
-int tcprint(void *, char *);
+int tcprint(void *, const char *);
void tc_ds_intr_establish __P((struct device *, void *, tc_intrlevel_t,
intr_handler_t handler, intr_arg_t arg));