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/dev/pci | |
parent | 306adfe37a19b924bfe990750192540a4af86079 (diff) |
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/ncr.c | 6 | ||||
-rw-r--r-- | sys/dev/pci/pci.c | 6 | ||||
-rw-r--r-- | sys/dev/pci/ppb.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/pci/ncr.c b/sys/dev/pci/ncr.c index 0cf2491fed0..f6043155c43 100644 --- a/sys/dev/pci/ncr.c +++ b/sys/dev/pci/ncr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr.c,v 1.18 1996/11/12 20:30:57 niklas Exp $ */ +/* $OpenBSD: ncr.c,v 1.19 1996/11/23 21:47:04 kstailey Exp $ */ /* $NetBSD: ncr.c,v 1.35.4.1 1996/06/03 20:32:17 cgd Exp $ */ /************************************************************************** @@ -3356,12 +3356,12 @@ static char* ncr_probe (pcici_t tag, pcidi_t type) #if defined(__NetBSD__) || defined(__OpenBSD__) -int ncr_print __P((void *, char *)); +int ncr_print __P((void *, const char *)); int ncr_print(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index e88e710b1d3..0d2f6061d0b 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci.c,v 1.3 1996/05/07 07:38:49 deraadt Exp $ */ +/* $OpenBSD: pci.c,v 1.4 1996/11/23 21:47:05 kstailey Exp $ */ /* $NetBSD: pci.c,v 1.19 1996/05/03 17:33:49 christos Exp $ */ /* @@ -53,7 +53,7 @@ struct cfdriver pci_cd = { NULL, "pci", DV_DULL }; -int pciprint __P((void *, char *)); +int pciprint __P((void *, const char *)); int pcisubmatch __P((struct device *, void *, void *)); int @@ -161,7 +161,7 @@ pciattach(parent, self, aux) int pciprint(aux, pnp) void *aux; - char *pnp; + const char *pnp; { register struct pci_attach_args *pa = aux; char devinfo[256]; diff --git a/sys/dev/pci/ppb.c b/sys/dev/pci/ppb.c index 87a6b1c0eeb..09a8b969cec 100644 --- a/sys/dev/pci/ppb.c +++ b/sys/dev/pci/ppb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ppb.c,v 1.3 1996/05/07 07:38:51 deraadt Exp $ */ +/* $OpenBSD: ppb.c,v 1.4 1996/11/23 21:47:06 kstailey Exp $ */ /* $NetBSD: ppb.c,v 1.8 1996/05/03 17:33:51 christos Exp $ */ /* @@ -61,7 +61,7 @@ struct cfdriver ppb_cd = { NULL, "ppb", DV_DULL }; -int ppbprint __P((void *, char *pnp)); +int ppbprint __P((void *, const char *pnp)); int ppbmatch(parent, match, aux) @@ -132,7 +132,7 @@ ppbattach(parent, self, aux) int ppbprint(aux, pnp) void *aux; - char *pnp; + const char *pnp; { struct pcibus_attach_args *pba = aux; |