summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
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/mac68k
parent306adfe37a19b924bfe990750192540a4af86079 (diff)
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/esp.c4
-rw-r--r--sys/arch/mac68k/dev/grf_subr.c4
-rw-r--r--sys/arch/mac68k/dev/grfvar.h4
-rw-r--r--sys/arch/mac68k/dev/ncr5380.c6
-rw-r--r--sys/arch/mac68k/dev/nubus.c8
-rw-r--r--sys/arch/mac68k/dev/sbc.c6
-rw-r--r--sys/arch/mac68k/dev/scsi96.c6
-rw-r--r--sys/arch/mac68k/include/autoconf.h4
-rw-r--r--sys/arch/mac68k/mac68k/mainbus.c2
9 files changed, 22 insertions, 22 deletions
diff --git a/sys/arch/mac68k/dev/esp.c b/sys/arch/mac68k/dev/esp.c
index f9140603b39..10cf87f9263 100644
--- a/sys/arch/mac68k/dev/esp.c
+++ b/sys/arch/mac68k/dev/esp.c
@@ -283,11 +283,11 @@ espmatch(parent, vcf, aux)
#endif
}
-int scsiprint __P((void *, char *));
+int scsiprint __P((void *, const char *));
int
scsiprint(aux, name)
void *aux;
- char *name;
+ const char *name;
{
return (UNCONF);
}
diff --git a/sys/arch/mac68k/dev/grf_subr.c b/sys/arch/mac68k/dev/grf_subr.c
index 2035881511c..22ca3dcb055 100644
--- a/sys/arch/mac68k/dev/grf_subr.c
+++ b/sys/arch/mac68k/dev/grf_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grf_subr.c,v 1.2 1996/08/10 21:37:44 briggs Exp $ */
+/* $OpenBSD: grf_subr.c,v 1.3 1996/11/23 21:45:51 kstailey Exp $ */
/* $NetBSD: grf_subr.c,v 1.2 1996/08/04 06:03:56 scottr Exp $ */
/*-
@@ -75,7 +75,7 @@ grf_establish(sc, sp, g_mode, g_phys)
int
grfbusprint(aux, name)
void *aux;
- char *name;
+ const char *name;
{
struct grfbus_attach_args *ga = aux;
diff --git a/sys/arch/mac68k/dev/grfvar.h b/sys/arch/mac68k/dev/grfvar.h
index 37109c21dfa..410b22d44cc 100644
--- a/sys/arch/mac68k/dev/grfvar.h
+++ b/sys/arch/mac68k/dev/grfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: grfvar.h,v 1.4 1996/08/10 21:37:44 briggs Exp $ */
+/* $OpenBSD: grfvar.h,v 1.5 1996/11/23 21:45:52 kstailey Exp $ */
/* $NetBSD: grfvar.h,v 1.11 1996/08/04 06:03:58 scottr Exp $ */
/*
@@ -147,4 +147,4 @@ int grfunmap __P((dev_t dev, caddr_t addr, struct proc *p));
void grf_establish __P((struct grfbus_softc *, nubus_slot *,
int (*)(struct grf_softc *, int, void *),
caddr_t (*)(struct grf_softc *, vm_offset_t)));
-int grfbusprint __P((void *, char *));
+int grfbusprint __P((void *, const char *));
diff --git a/sys/arch/mac68k/dev/ncr5380.c b/sys/arch/mac68k/dev/ncr5380.c
index e387ccdebf5..fd25b26373e 100644
--- a/sys/arch/mac68k/dev/ncr5380.c
+++ b/sys/arch/mac68k/dev/ncr5380.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr5380.c,v 1.9 1996/06/23 16:08:23 briggs Exp $ */
+/* $OpenBSD: ncr5380.c,v 1.10 1996/11/23 21:45:53 kstailey Exp $ */
/* $NetBSD: ncr5380.c,v 1.31 1996/06/23 15:02:58 briggs Exp $ */
/*
@@ -197,7 +197,7 @@ extern __inline__ void finish_req(SC_REQ *reqp)
/*
* Auto config stuff....
*/
-int ncr_cprint __P((void *auxp, char *));
+int ncr_cprint __P((void *auxp, const char *));
void ncr_attach __P((struct device *, struct device *, void *));
int ncr_match __P((struct device *, void *, void *));
@@ -283,7 +283,7 @@ void *auxp;
int
ncr_cprint(auxp, name)
void *auxp;
-char *name;
+const char *name;
{
if (name == NULL)
return (UNCONF);
diff --git a/sys/arch/mac68k/dev/nubus.c b/sys/arch/mac68k/dev/nubus.c
index 475bfedcb53..70f28253fbb 100644
--- a/sys/arch/mac68k/dev/nubus.c
+++ b/sys/arch/mac68k/dev/nubus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nubus.c,v 1.5 1996/09/21 03:36:58 briggs Exp $ */
+/* $OpenBSD: nubus.c,v 1.6 1996/11/23 21:45:54 kstailey Exp $ */
/* $NetBSD: nubus.c,v 1.23 1996/05/08 15:14:53 scottr Exp $ */
/*
@@ -48,7 +48,7 @@ static int nubus_debug = 0x01;
#define NDB_ARITH 0x4
#endif
-static int nubusprint __P((void *, char *));
+static int nubusprint __P((void *, const char *));
static int nubusmatch __P((struct device *, void *, void *));
static void nubusattach __P((struct device *, struct device *, void *));
@@ -101,8 +101,8 @@ nubusattach(parent, self, aux)
static int
nubusprint(aux, name)
- void *aux;
- char *name;
+ void *aux;
+ const char *name;
{
nubus_slot *fmt;
diff --git a/sys/arch/mac68k/dev/sbc.c b/sys/arch/mac68k/dev/sbc.c
index fc923015b92..6421fdf297b 100644
--- a/sys/arch/mac68k/dev/sbc.c
+++ b/sys/arch/mac68k/dev/sbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbc.c,v 1.4 1996/10/28 14:46:22 briggs Exp $ */
+/* $OpenBSD: sbc.c,v 1.5 1996/11/23 21:45:55 kstailey Exp $ */
/* $NetBSD: sbc.c,v 1.9 1996/06/19 01:47:28 scottr Exp $ */
/*
@@ -164,7 +164,7 @@ int sbc_options = SBC_PDMA;
static int sbc_match __P((struct device *, void *, void *));
static void sbc_attach __P((struct device *, struct device *, void *));
-static int sbc_print __P((void *, char *));
+static int sbc_print __P((void *, const char *));
static void sbc_minphys __P((struct buf *bp));
static int sbc_wait_busy __P((struct ncr5380_softc *));
@@ -354,7 +354,7 @@ sbc_attach(parent, self, args)
static int
sbc_print(aux, name)
void *aux;
- char *name;
+ const char *name;
{
if (name != NULL)
printf("%s: scsibus ", name);
diff --git a/sys/arch/mac68k/dev/scsi96.c b/sys/arch/mac68k/dev/scsi96.c
index 0f86217fb20..9998b029ce7 100644
--- a/sys/arch/mac68k/dev/scsi96.c
+++ b/sys/arch/mac68k/dev/scsi96.c
@@ -78,7 +78,7 @@ static int ncr53c96_scsi_cmd(struct scsi_xfer * xs);
static int ncr53c96_reset_target(int adapter, int target);
static int ncr53c96_poll(int adapter, int timeout);
static int ncr53c96_send_cmd(struct scsi_xfer * xs);
-static int scsiprint __P((void *, char *));
+static int scsiprint __P((void *, const char *));
static void resetchip __P((void));
struct scsi_adapter ncr53c96_switch = {
@@ -128,8 +128,8 @@ ncr96probe(parent, match, aux)
static int
scsiprint(auxp, name)
- void *auxp;
- char *name;
+ void *auxp;
+ const char *name;
{
if (name == NULL)
return (UNCONF);
diff --git a/sys/arch/mac68k/include/autoconf.h b/sys/arch/mac68k/include/autoconf.h
index ee4484a62ec..20e971e25c6 100644
--- a/sys/arch/mac68k/include/autoconf.h
+++ b/sys/arch/mac68k/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.2 1996/05/26 18:35:45 briggs Exp $ */
+/* $OpenBSD: autoconf.h,v 1.3 1996/11/23 21:45:56 kstailey Exp $ */
/* $NetBSD: autoconf.h,v 1.2 1996/05/18 18:52:48 briggs Exp $ */
/*
@@ -55,7 +55,7 @@ struct confargs {
/* autoconf.c */
void setconf __P((void));
int bus_scan __P((struct device *, void *, void *));
-int bus_print __P((void *, char *));
+int bus_print __P((void *, const char *));
int bus_peek __P((int, vm_offset_t, int));
char *bus_mapin __P((int, int, int));
void configure __P((void));
diff --git a/sys/arch/mac68k/mac68k/mainbus.c b/sys/arch/mac68k/mac68k/mainbus.c
index 21851d676c6..3f5fb06d144 100644
--- a/sys/arch/mac68k/mac68k/mainbus.c
+++ b/sys/arch/mac68k/mac68k/mainbus.c
@@ -141,7 +141,7 @@ bus_scan(parent, child, aux)
int
bus_print(args, name)
void *args;
- char *name;
+ const char *name;
{
/* struct confargs *ca = args; */