diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1996-11-23 21:47:14 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1996-11-23 21:47:14 +0000 |
commit | 728527f840ec82a566f72f3cec384e341ac59a4c (patch) | |
tree | f9b921355a0db868e86c0df2976673aee9af1339 /sys/arch/alpha/tc | |
parent | 306adfe37a19b924bfe990750192540a4af86079 (diff) |
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/arch/alpha/tc')
-rw-r--r-- | sys/arch/alpha/tc/cfb.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/tc/esp.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/tc/ioasic.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/tc/sfb.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/tc/tcasic.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/tc/tcds.c | 6 |
6 files changed, 18 insertions, 18 deletions
diff --git a/sys/arch/alpha/tc/cfb.c b/sys/arch/alpha/tc/cfb.c index b415f314504..1e97c303117 100644 --- a/sys/arch/alpha/tc/cfb.c +++ b/sys/arch/alpha/tc/cfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfb.c,v 1.4 1996/11/12 20:29:42 niklas Exp $ */ +/* $OpenBSD: cfb.c,v 1.5 1996/11/23 21:44:57 kstailey Exp $ */ /* $NetBSD: cfb.c,v 1.5 1996/10/13 03:00:27 christos Exp $ */ /* @@ -57,7 +57,7 @@ int cfbmatch __P((struct device *, void *, void *)); void cfbattach __P((struct device *, struct device *, void *)); -int cfbprint __P((void *, /* const */ char *)); +int cfbprint __P((void *, const char *)); struct cfattach cfb_ca = { sizeof(struct cfb_softc), cfbmatch, cfbattach, @@ -206,7 +206,7 @@ cfbattach(parent, self, aux) int cfbprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { if (pnp) diff --git a/sys/arch/alpha/tc/esp.c b/sys/arch/alpha/tc/esp.c index cb18590130c..8ef09391a31 100644 --- a/sys/arch/alpha/tc/esp.c +++ b/sys/arch/alpha/tc/esp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esp.c,v 1.6 1996/10/30 22:41:04 niklas Exp $ */ +/* $OpenBSD: esp.c,v 1.7 1996/11/23 21:44:59 kstailey Exp $ */ /* $NetBSD: esp.c,v 1.22 1996/10/15 21:30:19 mycroft Exp $ */ #ifdef __sparc__ @@ -109,7 +109,7 @@ int esp_debug = 0; /*ESP_SHOWPHASE|ESP_SHOWMISC|ESP_SHOWTRAC|ESP_SHOWCMDS;*/ /*static*/ void espattach __P((struct device *, struct device *, void *)); -/*static*/ int espprint __P((void *, char *)); +/*static*/ int espprint __P((void *, const char *)); /*static*/ int espmatch __P((struct device *, void *, void *)); /*static*/ u_int esp_adapter_info __P((struct esp_softc *)); /*static*/ void espreadregs __P((struct esp_softc *)); @@ -164,7 +164,7 @@ struct scsi_device esp_dev = { int espprint(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) printf("scsibus at %s", name); diff --git a/sys/arch/alpha/tc/ioasic.c b/sys/arch/alpha/tc/ioasic.c index 37e6d1bf17d..d7a6aae03f2 100644 --- a/sys/arch/alpha/tc/ioasic.c +++ b/sys/arch/alpha/tc/ioasic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ioasic.c,v 1.4 1996/10/30 22:41:08 niklas Exp $ */ +/* $OpenBSD: ioasic.c,v 1.5 1996/11/23 21:45:00 kstailey Exp $ */ /* $NetBSD: ioasic.c,v 1.9 1996/10/13 03:00:32 christos Exp $ */ /* @@ -54,7 +54,7 @@ struct ioasic_softc { /* Definition of the driver for autoconfig. */ int ioasicmatch __P((struct device *, void *, void *)); void ioasicattach __P((struct device *, struct device *, void *)); -int ioasicprint(void *, /* const */ char *); +int ioasicprint(void *, const char *); struct cfattach ioasic_ca = { sizeof(struct ioasic_softc), ioasicmatch, ioasicattach, @@ -190,7 +190,7 @@ ioasicattach(parent, self, aux) int ioasicprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { struct ioasicdev_attach_args *d = aux; diff --git a/sys/arch/alpha/tc/sfb.c b/sys/arch/alpha/tc/sfb.c index 16c14521d80..7a20ad45513 100644 --- a/sys/arch/alpha/tc/sfb.c +++ b/sys/arch/alpha/tc/sfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sfb.c,v 1.4 1996/11/12 20:29:43 niklas Exp $ */ +/* $OpenBSD: sfb.c,v 1.5 1996/11/23 21:45:01 kstailey Exp $ */ /* $NetBSD: sfb.c,v 1.5 1996/10/13 03:00:35 christos Exp $ */ /* @@ -57,7 +57,7 @@ int sfbmatch __P((struct device *, void *, void *)); void sfbattach __P((struct device *, struct device *, void *)); -int sfbprint __P((void *, /* const */ char *)); +int sfbprint __P((void *, const char *)); struct cfattach sfb_ca = { sizeof(struct sfb_softc), sfbmatch, sfbattach, @@ -251,7 +251,7 @@ sfbattach(parent, self, aux) int sfbprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { if (pnp) diff --git a/sys/arch/alpha/tc/tcasic.c b/sys/arch/alpha/tc/tcasic.c index 6ea1615408c..208e6a78fd5 100644 --- a/sys/arch/alpha/tc/tcasic.c +++ b/sys/arch/alpha/tc/tcasic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcasic.c,v 1.4 1996/10/30 22:41:24 niklas Exp $ */ +/* $OpenBSD: tcasic.c,v 1.5 1996/11/23 21:45:01 kstailey Exp $ */ /* $NetBSD: tcasic.c,v 1.10 1996/10/13 03:00:39 christos Exp $ */ /* @@ -50,7 +50,7 @@ struct cfdriver tcasic_cd = { NULL, "tcasic", DV_DULL, }; -int tcasicprint __P((void *, /* const */ char *)); +int tcasicprint __P((void *, const char *)); extern int cputype; @@ -145,7 +145,7 @@ tcasicattach(parent, self, aux) int tcasicprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { /* only TCs can attach to tcasics; easy. */ diff --git a/sys/arch/alpha/tc/tcds.c b/sys/arch/alpha/tc/tcds.c index a3cb6ae6b1b..da676fed240 100644 --- a/sys/arch/alpha/tc/tcds.c +++ b/sys/arch/alpha/tc/tcds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcds.c,v 1.5 1996/10/30 22:41:27 niklas Exp $ */ +/* $OpenBSD: tcds.c,v 1.6 1996/11/23 21:45:02 kstailey Exp $ */ /* $NetBSD: tcds.c,v 1.15 1996/10/13 03:00:41 christos Exp $ */ /* @@ -58,7 +58,7 @@ struct tcds_softc { /* Definition of the driver for autoconfig. */ int tcdsmatch __P((struct device *, void *, void *)); void tcdsattach __P((struct device *, struct device *, void *)); -int tcdsprint __P((void *, /* const */ char *)); +int tcdsprint __P((void *, const char *)); struct cfattach tcds_ca = { sizeof(struct tcds_softc), tcdsmatch, tcdsattach, @@ -204,7 +204,7 @@ tcdsattach(parent, self, aux) int tcdsprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { struct tc_attach_args *ta = aux; |