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 | |
parent | 306adfe37a19b924bfe990750192540a4af86079 (diff) |
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/mainbus.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/pci/apecs.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/pci/cia.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/pci/lca.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/pci/pcivga.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/pci/sio.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/pci/tga.c | 6 | ||||
-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 |
13 files changed, 39 insertions, 39 deletions
diff --git a/sys/arch/alpha/alpha/mainbus.c b/sys/arch/alpha/alpha/mainbus.c index e610c2b7f49..10f06b0b6ae 100644 --- a/sys/arch/alpha/alpha/mainbus.c +++ b/sys/arch/alpha/alpha/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.6 1996/10/30 22:38:15 niklas Exp $ */ +/* $OpenBSD: mainbus.c,v 1.7 1996/11/23 21:44:50 kstailey Exp $ */ /* $NetBSD: mainbus.c,v 1.12 1996/10/13 02:59:40 christos Exp $ */ /* @@ -44,7 +44,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 *, /* const */ char *)); +static int mbprint __P((void *, const char *)); struct cfattach mainbus_ca = { sizeof(struct mainbus_softc), mbmatch, mbattach @@ -135,7 +135,7 @@ mbattach(parent, self, aux) static int mbprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { struct confargs *ca = aux; diff --git a/sys/arch/alpha/pci/apecs.c b/sys/arch/alpha/pci/apecs.c index fee67e04274..5dfdd42262b 100644 --- a/sys/arch/alpha/pci/apecs.c +++ b/sys/arch/alpha/pci/apecs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apecs.c,v 1.5 1996/10/30 22:39:46 niklas Exp $ */ +/* $OpenBSD: apecs.c,v 1.6 1996/11/23 21:44:53 kstailey Exp $ */ /* $NetBSD: apecs.c,v 1.12 1996/10/13 03:00:00 christos Exp $ */ /* @@ -61,7 +61,7 @@ struct cfdriver apecs_cd = { NULL, "apecs", DV_DULL, }; -int apecsprint __P((void *, /* const */ char *pnp)); +int apecsprint __P((void *, const char *pnp)); /* There can be only one. */ int apecsfound; @@ -166,7 +166,7 @@ apecsattach(parent, self, aux) int apecsprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { register struct pcibus_attach_args *pba = aux; diff --git a/sys/arch/alpha/pci/cia.c b/sys/arch/alpha/pci/cia.c index 8337d47c48c..c52bec93a35 100644 --- a/sys/arch/alpha/pci/cia.c +++ b/sys/arch/alpha/pci/cia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cia.c,v 1.4 1996/10/30 22:39:53 niklas Exp $ */ +/* $OpenBSD: cia.c,v 1.5 1996/11/23 21:44:54 kstailey Exp $ */ /* $NetBSD: cia.c,v 1.11 1996/10/13 03:00:03 christos Exp $ */ /* @@ -60,7 +60,7 @@ struct cfdriver cia_cd = { NULL, "cia", DV_DULL, }; -int ciaprint __P((void *, /* const */ char *pnp)); +int ciaprint __P((void *, const char *pnp)); /* There can be only one. */ int ciafound; @@ -148,7 +148,7 @@ ciaattach(parent, self, aux) int ciaprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { register struct pcibus_attach_args *pba = aux; diff --git a/sys/arch/alpha/pci/lca.c b/sys/arch/alpha/pci/lca.c index 64994855849..a0004181456 100644 --- a/sys/arch/alpha/pci/lca.c +++ b/sys/arch/alpha/pci/lca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lca.c,v 1.4 1996/10/30 22:39:59 niklas Exp $ */ +/* $OpenBSD: lca.c,v 1.5 1996/11/23 21:44:54 kstailey Exp $ */ /* $NetBSD: lca.c,v 1.10 1996/10/13 03:00:07 christos Exp $ */ /* @@ -61,7 +61,7 @@ struct cfdriver lca_cd = { NULL, "lca", DV_DULL, }; -int lcaprint __P((void *, /* const */ char *pnp)); +int lcaprint __P((void *, const char *pnp)); /* There can be only one. */ int lcafound; @@ -203,7 +203,7 @@ lcaattach(parent, self, aux) int lcaprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { register struct pcibus_attach_args *pba = aux; diff --git a/sys/arch/alpha/pci/pcivga.c b/sys/arch/alpha/pci/pcivga.c index 1cbcabde789..1670af9ebb2 100644 --- a/sys/arch/alpha/pci/pcivga.c +++ b/sys/arch/alpha/pci/pcivga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcivga.c,v 1.7 1996/10/30 22:40:10 niklas Exp $ */ +/* $OpenBSD: pcivga.c,v 1.8 1996/11/23 21:44:55 kstailey Exp $ */ /* $NetBSD: pcivga.c,v 1.11 1996/10/13 03:00:13 christos Exp $ */ /* @@ -49,7 +49,7 @@ int pcivgamatch __P((struct device *, void *, void *)); void pcivgaattach __P((struct device *, struct device *, void *)); -int pcivgaprint __P((void *, /* const */ char *)); +int pcivgaprint __P((void *, const char *)); struct cfattach pcivga_ca = { sizeof(struct pcivga_softc), pcivgamatch, pcivgaattach, @@ -221,7 +221,7 @@ pcivgaattach(parent, self, aux) int pcivgaprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { if (pnp) diff --git a/sys/arch/alpha/pci/sio.c b/sys/arch/alpha/pci/sio.c index 4dfca1d5e64..021573560de 100644 --- a/sys/arch/alpha/pci/sio.c +++ b/sys/arch/alpha/pci/sio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sio.c,v 1.6 1996/11/12 20:29:39 niklas Exp $ */ +/* $OpenBSD: sio.c,v 1.7 1996/11/23 21:44:56 kstailey Exp $ */ /* $NetBSD: sio.c,v 1.11 1996/10/13 03:00:18 christos Exp $ */ /* @@ -72,7 +72,7 @@ union sio_attach_args { struct eisabus_attach_args sa_eba; }; -int sioprint __P((void *, /* const */ char *pnp)); +int sioprint __P((void *, const char *pnp)); void sio_isa_attach_hook __P((struct device *, struct device *, struct isabus_attach_args *)); void sio_eisa_attach_hook __P((struct device *, struct device *, @@ -170,7 +170,7 @@ sioattach(parent, self, aux) int sioprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { register union sio_attach_args *sa = aux; diff --git a/sys/arch/alpha/pci/tga.c b/sys/arch/alpha/pci/tga.c index ac4f6d976dd..384dd7c31e8 100644 --- a/sys/arch/alpha/pci/tga.c +++ b/sys/arch/alpha/pci/tga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tga.c,v 1.6 1996/11/12 20:29:41 niklas Exp $ */ +/* $OpenBSD: tga.c,v 1.7 1996/11/23 21:44:56 kstailey Exp $ */ /* $NetBSD: tga.c,v 1.10 1996/10/13 03:00:22 christos Exp $ */ /* @@ -57,7 +57,7 @@ int tgamatch __P((struct device *, void *, void *)); void tgaattach __P((struct device *, struct device *, void *)); -int tgaprint __P((void *, /* const */ char *)); +int tgaprint __P((void *, const char *)); struct cfattach tga_ca = { sizeof(struct tga_softc), tgamatch, tgaattach, @@ -312,7 +312,7 @@ tgaattach(parent, self, aux) int tgaprint(aux, pnp) void *aux; - /* const */ char *pnp; + const char *pnp; { if (pnp) 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; |