From 728527f840ec82a566f72f3cec384e341ac59a4c Mon Sep 17 00:00:00 2001 From: kstailey Date: Sat, 23 Nov 1996 21:47:14 +0000 Subject: added const to second parameter of cfprint_t routines --- sys/arch/amiga/dev/afsc.c | 6 +++--- sys/arch/amiga/dev/ahsc.c | 6 +++--- sys/arch/amiga/dev/atzsc.c | 6 +++--- sys/arch/amiga/dev/bzsc.c | 6 +++--- sys/arch/amiga/dev/drsc.c | 4 ++-- sys/arch/amiga/dev/empsc.c | 6 +++--- sys/arch/amiga/dev/fd.c | 6 +++--- sys/arch/amiga/dev/flsc.c | 6 +++--- sys/arch/amiga/dev/grf.c | 6 +++--- sys/arch/amiga/dev/grf_cc.c | 6 +++--- sys/arch/amiga/dev/grf_cl.c | 8 ++++---- sys/arch/amiga/dev/grf_cv.c | 6 +++--- sys/arch/amiga/dev/grf_et.c | 6 +++--- sys/arch/amiga/dev/grf_rh.c | 6 +++--- sys/arch/amiga/dev/grf_rt.c | 6 +++--- sys/arch/amiga/dev/grf_ul.c | 6 +++--- sys/arch/amiga/dev/gtsc.c | 6 +++--- sys/arch/amiga/dev/gvpbus.c | 6 +++--- sys/arch/amiga/dev/idesc.c | 6 +++--- sys/arch/amiga/dev/ivsc.c | 6 +++--- sys/arch/amiga/dev/mfc.c | 6 +++--- sys/arch/amiga/dev/mgnsc.c | 6 +++--- sys/arch/amiga/dev/mlhsc.c | 6 +++--- sys/arch/amiga/dev/otgsc.c | 6 +++--- sys/arch/amiga/dev/wesc.c | 6 +++--- sys/arch/amiga/dev/wstsc.c | 6 +++--- sys/arch/amiga/dev/zbus.c | 6 +++--- sys/arch/amiga/dev/zssc.c | 6 +++--- 28 files changed, 84 insertions(+), 84 deletions(-) (limited to 'sys/arch/amiga/dev') diff --git a/sys/arch/amiga/dev/afsc.c b/sys/arch/amiga/dev/afsc.c index b02aff05f79..d139aa802e6 100644 --- a/sys/arch/amiga/dev/afsc.c +++ b/sys/arch/amiga/dev/afsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: afsc.c,v 1.5 1996/05/02 06:43:32 niklas Exp $ */ +/* $OpenBSD: afsc.c,v 1.6 1996/11/23 21:45:05 kstailey Exp $ */ /* $NetBSD: afsc.c,v 1.14 1996/04/21 21:10:48 veego Exp $ */ /* @@ -52,7 +52,7 @@ #include #include -int afscprint __P((void *auxp, char *)); +int afscprint __P((void *auxp, const char *)); void afscattach __P((struct device *, struct device *, void *)); int afscmatch __P((struct device *, void *, void *)); int afsc_dmaintr __P((void *)); @@ -179,7 +179,7 @@ afscattach(pdp, dp, auxp) int afscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/ahsc.c b/sys/arch/amiga/dev/ahsc.c index 2d40f8e8890..aa1dd49090d 100644 --- a/sys/arch/amiga/dev/ahsc.c +++ b/sys/arch/amiga/dev/ahsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahsc.c,v 1.3 1996/05/02 06:43:33 niklas Exp $ */ +/* $OpenBSD: ahsc.c,v 1.4 1996/11/23 21:45:05 kstailey Exp $ */ /* $NetBSD: ahsc.c,v 1.12 1996/04/21 21:10:49 veego Exp $ */ /* @@ -52,7 +52,7 @@ #include #include -int ahscprint __P((void *auxp, char *)); +int ahscprint __P((void *auxp, const char *)); void ahscattach __P((struct device *, struct device *, void *)); int ahscmatch __P((struct device *, void *, void *)); @@ -164,7 +164,7 @@ ahscattach(pdp, dp, auxp) int ahscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/atzsc.c b/sys/arch/amiga/dev/atzsc.c index d870992901f..fbc439a4089 100644 --- a/sys/arch/amiga/dev/atzsc.c +++ b/sys/arch/amiga/dev/atzsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atzsc.c,v 1.3 1996/05/02 06:43:34 niklas Exp $ */ +/* $OpenBSD: atzsc.c,v 1.4 1996/11/23 21:45:06 kstailey Exp $ */ /* $NetBSD: atzsc.c,v 1.16 1996/04/21 21:10:51 veego Exp $ */ /* @@ -52,7 +52,7 @@ #include #include -int atzscprint __P((void *auxp, char *)); +int atzscprint __P((void *auxp, const char *)); void atzscattach __P((struct device *, struct device *, void *)); int atzscmatch __P((struct device *, void *, void *)); @@ -188,7 +188,7 @@ atzscattach(pdp, dp, auxp) int atzscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/bzsc.c b/sys/arch/amiga/dev/bzsc.c index 972714ae3ff..997e96a7ca0 100644 --- a/sys/arch/amiga/dev/bzsc.c +++ b/sys/arch/amiga/dev/bzsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bzsc.c,v 1.3 1996/05/02 06:43:34 niklas Exp $ */ +/* $OpenBSD: bzsc.c,v 1.4 1996/11/23 21:45:06 kstailey Exp $ */ /* $NetBSD: bzsc.c,v 1.7 1996/04/21 21:10:52 veego Exp $ */ @@ -59,7 +59,7 @@ #include #include -int bzscprint __P((void *auxp, char *)); +int bzscprint __P((void *auxp, const char *)); void bzscattach __P((struct device *, struct device *, void *)); int bzscmatch __P((struct device *, void *, void *)); @@ -190,7 +190,7 @@ bzscattach(pdp, dp, auxp) int bzscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/drsc.c b/sys/arch/amiga/dev/drsc.c index e4304a6a5b4..09768e8fe91 100644 --- a/sys/arch/amiga/dev/drsc.c +++ b/sys/arch/amiga/dev/drsc.c @@ -51,7 +51,7 @@ #include #include -int drscprint __P((void *auxp, char *)); +int drscprint __P((void *auxp, const char *)); void drscattach __P((struct device *, struct device *, void *)); int drscmatch __P((struct device *, void *, void *)); int drsc_dmaintr __P((struct siop_softc *)); @@ -157,7 +157,7 @@ drscattach(pdp, dp, auxp) int drscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/empsc.c b/sys/arch/amiga/dev/empsc.c index 7af2b5ab94f..a603e4d9be6 100644 --- a/sys/arch/amiga/dev/empsc.c +++ b/sys/arch/amiga/dev/empsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: empsc.c,v 1.3 1996/05/29 10:14:51 niklas Exp $ */ +/* $OpenBSD: empsc.c,v 1.4 1996/11/23 21:45:07 kstailey Exp $ */ /* $NetBSD: empsc.c,v 1.7 1996/05/10 13:02:33 is Exp $ */ /* @@ -50,7 +50,7 @@ #include #include -int empscprint __P((void *auxp, char *)); +int empscprint __P((void *auxp, const char *)); void empscattach __P((struct device *, struct device *, void *)); int empscmatch __P((struct device *, void *, void *)); int empsc_intr __P((void *)); @@ -159,7 +159,7 @@ empscattach(pdp, dp, auxp) int empscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/fd.c b/sys/arch/amiga/dev/fd.c index 82033875d0f..6fa601a477c 100644 --- a/sys/arch/amiga/dev/fd.c +++ b/sys/arch/amiga/dev/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.9 1996/05/07 10:08:23 niklas Exp $ */ +/* $OpenBSD: fd.c,v 1.10 1996/11/23 21:45:08 kstailey Exp $ */ /* $NetBSD: fd.c,v 1.32 1996/05/04 04:54:00 mhitch Exp $ */ /* @@ -185,7 +185,7 @@ struct fdcargs { int fdcmatch __P((struct device *, void *, void *)); void fdcattach __P((struct device *, struct device *, void *)); -int fdcprint __P((void *, char *)); +int fdcprint __P((void *, const char *)); int fdmatch __P((struct device *, void *, void *)); void fdattach __P((struct device *, struct device *, void *)); @@ -360,7 +360,7 @@ fdcattach(pdp, dp, auxp) int fdcprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { struct fdcargs *fcp; diff --git a/sys/arch/amiga/dev/flsc.c b/sys/arch/amiga/dev/flsc.c index 72b4799743d..35875d2d3d5 100644 --- a/sys/arch/amiga/dev/flsc.c +++ b/sys/arch/amiga/dev/flsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: flsc.c,v 1.5 1996/10/04 23:34:50 niklas Exp $ */ +/* $OpenBSD: flsc.c,v 1.6 1996/11/23 21:45:09 kstailey Exp $ */ /* $NetBSD: flsc.c,v 1.5.4.3 1996/08/05 20:40:35 jtc Exp $ */ /* @@ -58,7 +58,7 @@ #include #include -int flscprint __P((void *auxp, char *)); +int flscprint __P((void *auxp, const char *)); void flscattach __P((struct device *, struct device *, void *)); int flscmatch __P((struct device *, void *, void *)); @@ -198,7 +198,7 @@ flscattach(pdp, dp, auxp) int flscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/grf.c b/sys/arch/amiga/dev/grf.c index 07a2fac3086..2069c00a94e 100644 --- a/sys/arch/amiga/dev/grf.c +++ b/sys/arch/amiga/dev/grf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf.c,v 1.5 1996/05/29 10:14:54 niklas Exp $ */ +/* $OpenBSD: grf.c,v 1.6 1996/11/23 21:45:10 kstailey Exp $ */ /* $NetBSD: grf.c,v 1.27 1996/05/19 20:06:20 is Exp $ */ /* @@ -96,7 +96,7 @@ int grfbanked_set __P((dev_t, int)); void grfattach __P((struct device *, struct device *, void *)); int grfmatch __P((struct device *, void *, void *)); -int grfprint __P((void *, char *)); +int grfprint __P((void *, const char *)); /* * pointers to grf drivers device structs */ @@ -174,7 +174,7 @@ grfattach(pdp, dp, auxp) int grfprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp) printf("ite at %s", pnp); diff --git a/sys/arch/amiga/dev/grf_cc.c b/sys/arch/amiga/dev/grf_cc.c index 28a979d4c8a..0e9e409a3c0 100644 --- a/sys/arch/amiga/dev/grf_cc.c +++ b/sys/arch/amiga/dev/grf_cc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_cc.c,v 1.3 1996/05/02 06:43:42 niklas Exp $ */ +/* $OpenBSD: grf_cc.c,v 1.4 1996/11/23 21:45:10 kstailey Exp $ */ /* $NetBSD: grf_cc.c,v 1.19 1996/04/21 21:11:08 veego Exp $ */ /* @@ -62,7 +62,7 @@ #include "view.h" int grfccmatch __P((struct device *, void *, void *)); -int grfccprint __P((void *, char *)); +int grfccprint __P((void *, const char *)); void grfccattach __P((struct device *, struct device *, void *)); void grf_cc_on __P((struct grf_softc *)); @@ -158,7 +158,7 @@ grfccattach(pdp, dp, auxp) int grfccprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp) printf("grf%d at %s", ((struct grf_softc *)auxp)->g_unit, diff --git a/sys/arch/amiga/dev/grf_cl.c b/sys/arch/amiga/dev/grf_cl.c index 38eb6c0b1e5..c7a1e6aa06b 100644 --- a/sys/arch/amiga/dev/grf_cl.c +++ b/sys/arch/amiga/dev/grf_cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_cl.c,v 1.6 1996/08/23 18:52:36 niklas Exp $ */ +/* $OpenBSD: grf_cl.c,v 1.7 1996/11/23 21:45:11 kstailey Exp $ */ /* $NetBSD: grf_cl.c,v 1.11.4.1 1996/05/27 10:50:40 is Exp $ */ /* @@ -106,7 +106,7 @@ static void RegOnpass __P((volatile caddr_t)); static void RegOffpass __P((volatile caddr_t)); void grfclattach __P((struct device *, struct device *, void *)); -int grfclprint __P((void *, char *)); +int grfclprint __P((void *, const char *)); int grfclmatch __P((struct device *, void *, void *)); void cl_memset __P((unsigned char *, unsigned char, int)); @@ -358,8 +358,8 @@ grfclattach(pdp, dp, auxp) int grfclprint(auxp, pnp) - void *auxp; - char *pnp; + void *auxp; + const char *pnp; { if (pnp) printf("ite at %s: ", pnp); diff --git a/sys/arch/amiga/dev/grf_cv.c b/sys/arch/amiga/dev/grf_cv.c index a7488122b5e..d104c2891b9 100644 --- a/sys/arch/amiga/dev/grf_cv.c +++ b/sys/arch/amiga/dev/grf_cv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_cv.c,v 1.11 1996/10/04 15:12:36 niklas Exp $ */ +/* $OpenBSD: grf_cv.c,v 1.12 1996/11/23 21:45:13 kstailey Exp $ */ /* $NetBSD: grf_cv.c,v 1.14 1996/05/19 21:05:27 veego Exp $ */ /* @@ -70,7 +70,7 @@ int grfcvmatch __P((struct device *, void *, void *)); void grfcvattach __P((struct device *, struct device *, void *)); -int grfcvprint __P((void *, char *)); +int grfcvprint __P((void *, const char *)); static int cv_has_4mb __P((volatile caddr_t)); static unsigned short cv_compute_clock __P((unsigned long)); @@ -413,7 +413,7 @@ grfcvattach(pdp, dp, auxp) int grfcvprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp) printf("ite at %s: ", pnp); diff --git a/sys/arch/amiga/dev/grf_et.c b/sys/arch/amiga/dev/grf_et.c index 242c6762c31..0f48bafb3d8 100644 --- a/sys/arch/amiga/dev/grf_et.c +++ b/sys/arch/amiga/dev/grf_et.c @@ -100,7 +100,7 @@ static int et_getDACType __P((struct grf_softc *gp)); int grfetmatch __P((struct device *, void *, void *)); void grfetattach __P((struct device *, struct device *, void *)); -int grfetprint __P((void *, char *)); +int grfetprint __P((void *, const char *)); void et_memset __P((unsigned char *d, unsigned char c, int l)); /* @@ -365,8 +365,8 @@ grfetattach(pdp, dp, auxp) int grfetprint(auxp, pnp) - void *auxp; - char *pnp; + void *auxp; + const char *pnp; { if (pnp) printf("ite at %s: ", pnp); diff --git a/sys/arch/amiga/dev/grf_rh.c b/sys/arch/amiga/dev/grf_rh.c index a8371eba46c..9044229085f 100644 --- a/sys/arch/amiga/dev/grf_rh.c +++ b/sys/arch/amiga/dev/grf_rh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_rh.c,v 1.9 1996/10/04 23:34:53 niklas Exp $ */ +/* $OpenBSD: grf_rh.c,v 1.10 1996/11/23 21:45:15 kstailey Exp $ */ /* $NetBSD: grf_rh.c,v 1.17.4.3 1996/09/06 00:40:22 jtc Exp $ */ /* @@ -1525,7 +1525,7 @@ static struct MonDef *current_mon; /* EVIL */ int rh_mode __P((struct grf_softc *, u_long, void *, u_long, int)); void grfrhattach __P((struct device *, struct device *, void *)); -int grfrhprint __P((void *, char *)); +int grfrhprint __P((void *, const char *)); int grfrhmatch __P((struct device *, void *, void *)); struct cfattach grfrh_ca = { @@ -1620,7 +1620,7 @@ grfrhattach(pdp, dp, auxp) int grfrhprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp) printf("ite at %s", pnp); diff --git a/sys/arch/amiga/dev/grf_rt.c b/sys/arch/amiga/dev/grf_rt.c index 92213360164..734a450b33b 100644 --- a/sys/arch/amiga/dev/grf_rt.c +++ b/sys/arch/amiga/dev/grf_rt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_rt.c,v 1.7 1996/08/23 18:52:50 niklas Exp $ */ +/* $OpenBSD: grf_rt.c,v 1.8 1996/11/23 21:45:16 kstailey Exp $ */ /* $NetBSD: grf_rt.c,v 1.27.4.1 1996/05/26 17:26:43 is Exp $ */ /* @@ -765,7 +765,7 @@ rt_load_mon(gp, md) } void grfrtattach __P((struct device *, struct device *, void *)); -int grfrtprint __P((void *, char *)); +int grfrtprint __P((void *, const char *)); int grfrtmatch __P((struct device *, void *, void *)); int rt_mode __P((struct grf_softc *, u_long, void *, u_long, int)); @@ -892,7 +892,7 @@ grfrtattach(pdp, dp, auxp) int grfrtprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp) printf("grf%d at %s", ((struct grf_softc *)auxp)->g_unit, diff --git a/sys/arch/amiga/dev/grf_ul.c b/sys/arch/amiga/dev/grf_ul.c index ba6b06d66e2..e50d8e5cbab 100644 --- a/sys/arch/amiga/dev/grf_ul.c +++ b/sys/arch/amiga/dev/grf_ul.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_ul.c,v 1.9 1996/05/29 10:15:17 niklas Exp $ */ +/* $OpenBSD: grf_ul.c,v 1.10 1996/11/23 21:45:17 kstailey Exp $ */ /* $NetBSD: grf_ul.c,v 1.17 1996/05/09 20:31:25 is Exp $ */ #define UL_DEBUG @@ -440,7 +440,7 @@ ul_load_mon(gp, md) int ul_mode __P((struct grf_softc *, u_long, void *, u_long, int)); void grfulattach __P((struct device *, struct device *, void *)); -int grfulprint __P((void *, char *)); +int grfulprint __P((void *, const char *)); int grfulmatch __P((struct device *, void *, void *)); struct cfattach grful_ca = { @@ -572,7 +572,7 @@ grfulattach(pdp, dp, auxp) int grfulprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp) printf("grf%d at %s", ((struct grf_softc *)auxp)->g_unit, diff --git a/sys/arch/amiga/dev/gtsc.c b/sys/arch/amiga/dev/gtsc.c index a4b2551a3ae..7735f01765e 100644 --- a/sys/arch/amiga/dev/gtsc.c +++ b/sys/arch/amiga/dev/gtsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gtsc.c,v 1.3 1996/05/02 06:44:00 niklas Exp $ */ +/* $OpenBSD: gtsc.c,v 1.4 1996/11/23 21:45:17 kstailey Exp $ */ /* $NetBSD: gtsc.c,v 1.15 1996/04/21 21:11:34 veego Exp $ */ /* @@ -55,7 +55,7 @@ void gtscattach __P((struct device *, struct device *, void *)); int gtscmatch __P((struct device *, void *, void *)); -int gtscprint __P((void *auxp, char *)); +int gtscprint __P((void *auxp, const char *)); void gtsc_enintr __P((struct sbic_softc *)); void gtsc_dmastop __P((struct sbic_softc *)); @@ -213,7 +213,7 @@ gtscattach(pdp, dp, auxp) int gtscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/gvpbus.c b/sys/arch/amiga/dev/gvpbus.c index caa3e222354..d2536685549 100644 --- a/sys/arch/amiga/dev/gvpbus.c +++ b/sys/arch/amiga/dev/gvpbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gvpbus.c,v 1.3 1996/05/02 06:44:00 niklas Exp $ */ +/* $OpenBSD: gvpbus.c,v 1.4 1996/11/23 21:45:18 kstailey Exp $ */ /* $NetBSD: gvpbus.c,v 1.11 1996/04/21 21:11:36 veego Exp $ */ /* @@ -39,7 +39,7 @@ void gvpbusattach __P((struct device *, struct device *, void *)); int gvpbusmatch __P((struct device *, void *, void *)); -int gvpbusprint __P((void *auxp, char *)); +int gvpbusprint __P((void *auxp, const char *)); extern int sbic_no_dma; /* Kludge for A1291 - mlh */ @@ -155,7 +155,7 @@ gvpbusattach(pdp, dp, auxp) int gvpbusprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { struct gvpbus_args *gap; diff --git a/sys/arch/amiga/dev/idesc.c b/sys/arch/amiga/dev/idesc.c index fe5fd3e6674..d2c90fdd65a 100644 --- a/sys/arch/amiga/dev/idesc.c +++ b/sys/arch/amiga/dev/idesc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: idesc.c,v 1.6 1996/08/23 18:53:01 niklas Exp $ */ +/* $OpenBSD: idesc.c,v 1.7 1996/11/23 21:45:19 kstailey Exp $ */ /* $NetBSD: idesc.c,v 1.21.4.2 1996/05/30 03:20:14 mhitch Exp $ */ /* @@ -237,7 +237,7 @@ struct idec_softc int ide_scsicmd __P((struct scsi_xfer *)); -int idescprint __P((void *auxp, char *)); +int idescprint __P((void *auxp, const char *)); void idescattach __P((struct device *, struct device *, void *)); int idescmatch __P((struct device *, void *, void *)); @@ -430,7 +430,7 @@ idescattach(pdp, dp, auxp) int idescprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/ivsc.c b/sys/arch/amiga/dev/ivsc.c index 24aeff78995..27db9e1d9ca 100644 --- a/sys/arch/amiga/dev/ivsc.c +++ b/sys/arch/amiga/dev/ivsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ivsc.c,v 1.3 1996/05/02 06:44:15 niklas Exp $ */ +/* $OpenBSD: ivsc.c,v 1.4 1996/11/23 21:45:19 kstailey Exp $ */ /* $NetBSD: ivsc.c,v 1.15 1996/04/21 21:12:04 veego Exp $ */ /* @@ -49,7 +49,7 @@ #include #include -int ivscprint __P((void *auxp, char *)); +int ivscprint __P((void *auxp, const char *)); void ivscattach __P((struct device *, struct device *, void *)); int ivscmatch __P((struct device *, void *, void *)); @@ -176,7 +176,7 @@ ivscattach(pdp, dp, auxp) int ivscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/mfc.c b/sys/arch/amiga/dev/mfc.c index 80972f0ab7b..22d4768a2ad 100644 --- a/sys/arch/amiga/dev/mfc.c +++ b/sys/arch/amiga/dev/mfc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfc.c,v 1.8 1996/10/04 15:10:39 niklas Exp $ */ +/* $OpenBSD: mfc.c,v 1.9 1996/11/23 21:45:20 kstailey Exp $ */ /* $NetBSD: mfc.c,v 1.12.4.1 1996/06/06 04:53:16 mhitch Exp $ */ /* @@ -182,7 +182,7 @@ struct mfc_args { char unit; }; -int mfcprint __P((void *auxp, char *)); +int mfcprint __P((void *auxp, const char *)); void mfcattach __P((struct device *, struct device *, void *)); int mfcmatch __P((struct device *, void *, void *)); @@ -461,7 +461,7 @@ mfcsattach(pdp, dp, auxp) int mfcprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/mgnsc.c b/sys/arch/amiga/dev/mgnsc.c index d95b4710316..30a06f91895 100644 --- a/sys/arch/amiga/dev/mgnsc.c +++ b/sys/arch/amiga/dev/mgnsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mgnsc.c,v 1.8 1996/10/04 15:10:40 niklas Exp $ */ +/* $OpenBSD: mgnsc.c,v 1.9 1996/11/23 21:45:21 kstailey Exp $ */ /* $NetBSD: mgnsc.c,v 1.18 1996/04/21 21:12:11 veego Exp $ */ /* @@ -53,7 +53,7 @@ #include #include -int mgnscprint __P((void *auxp, char *)); +int mgnscprint __P((void *auxp, const char *)); void mgnscattach __P((struct device *, struct device *, void *)); int mgnscmatch __P((struct device *, void *, void *)); int mgnsc_dmaintr __P((void *)); @@ -155,7 +155,7 @@ mgnscattach(pdp, dp, auxp) int mgnscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/mlhsc.c b/sys/arch/amiga/dev/mlhsc.c index e46f75b8886..de282adee2c 100644 --- a/sys/arch/amiga/dev/mlhsc.c +++ b/sys/arch/amiga/dev/mlhsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mlhsc.c,v 1.3 1996/05/02 06:44:20 niklas Exp $ */ +/* $OpenBSD: mlhsc.c,v 1.4 1996/11/23 21:45:21 kstailey Exp $ */ /* $NetBSD: mlhsc.c,v 1.10 1996/04/21 21:12:12 veego Exp $ */ /* @@ -48,7 +48,7 @@ #include #include -int mlhscprint __P((void *auxp, char *)); +int mlhscprint __P((void *auxp, const char *)); void mlhscattach __P((struct device *, struct device *, void *)); int mlhscmatch __P((struct device *, void *, void *)); @@ -162,7 +162,7 @@ mlhscattach(pdp, dp, auxp) int mlhscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/otgsc.c b/sys/arch/amiga/dev/otgsc.c index 2878cf47a64..a1aeeb7e5e0 100644 --- a/sys/arch/amiga/dev/otgsc.c +++ b/sys/arch/amiga/dev/otgsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: otgsc.c,v 1.3 1996/05/02 06:44:23 niklas Exp $ */ +/* $OpenBSD: otgsc.c,v 1.4 1996/11/23 21:45:22 kstailey Exp $ */ /* $NetBSD: otgsc.c,v 1.11 1996/04/21 21:12:16 veego Exp $ */ /* @@ -48,7 +48,7 @@ #include #include -int otgscprint __P((void *auxp, char *)); +int otgscprint __P((void *auxp, const char *)); void otgscattach __P((struct device *, struct device *, void *)); int otgscmatch __P((struct device *, void *, void *)); @@ -169,7 +169,7 @@ otgscattach(pdp, dp, auxp) int otgscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/wesc.c b/sys/arch/amiga/dev/wesc.c index 087bf5e0dd2..be70b880250 100644 --- a/sys/arch/amiga/dev/wesc.c +++ b/sys/arch/amiga/dev/wesc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wesc.c,v 1.4 1996/05/02 06:44:38 niklas Exp $ */ +/* $OpenBSD: wesc.c,v 1.5 1996/11/23 21:45:23 kstailey Exp $ */ /* $NetBSD: wesc.c,v 1.13 1996/04/21 21:12:42 veego Exp $ */ /* @@ -51,7 +51,7 @@ #include #include -int wescprint __P((void *auxp, char *)); +int wescprint __P((void *auxp, const char *)); void wescattach __P((struct device *, struct device *, void *)); int wescmatch __P((struct device *, void *, void *)); int wesc_dmaintr __P((void *)); @@ -149,7 +149,7 @@ wescattach(pdp, dp, auxp) int wescprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/wstsc.c b/sys/arch/amiga/dev/wstsc.c index 6e63210e5a5..7ca477742a1 100644 --- a/sys/arch/amiga/dev/wstsc.c +++ b/sys/arch/amiga/dev/wstsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wstsc.c,v 1.3 1996/05/02 06:44:39 niklas Exp $ */ +/* $OpenBSD: wstsc.c,v 1.4 1996/11/23 21:45:23 kstailey Exp $ */ /* $NetBSD: wstsc.c,v 1.12 1996/04/28 06:49:35 mhitch Exp $ */ /* @@ -48,7 +48,7 @@ #include #include -int wstscprint __P((void *auxp, char *)); +int wstscprint __P((void *auxp, const char *)); void wstscattach __P((struct device *, struct device *, void *)); int wstscmatch __P((struct device *, void *, void *)); @@ -187,7 +187,7 @@ wstscattach(pdp, dp, auxp) int wstscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); diff --git a/sys/arch/amiga/dev/zbus.c b/sys/arch/amiga/dev/zbus.c index f068f0cad08..ab07e788297 100644 --- a/sys/arch/amiga/dev/zbus.c +++ b/sys/arch/amiga/dev/zbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zbus.c,v 1.6 1996/05/29 10:15:45 niklas Exp $ */ +/* $OpenBSD: zbus.c,v 1.7 1996/11/23 21:45:24 kstailey Exp $ */ /* $NetBSD: zbus.c,v 1.19 1996/05/19 21:06:09 veego Exp $ */ /* @@ -170,7 +170,7 @@ static int npreconfent = sizeof(preconftab) / sizeof(struct preconfdata); void zbusattach __P((struct device *, struct device *, void *)); -int zbusprint __P((void *, char *)); +int zbusprint __P((void *, const char *)); int zbusmatch __P((struct device *, void *, void *)); caddr_t zbusmap __P((caddr_t, u_int)); static char *aconflookup __P((int, int)); @@ -290,7 +290,7 @@ zbusattach(pdp, dp, auxp) int zbusprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { struct zbus_args *zap; int rv; diff --git a/sys/arch/amiga/dev/zssc.c b/sys/arch/amiga/dev/zssc.c index 9ffdf9e9413..0184d806b85 100644 --- a/sys/arch/amiga/dev/zssc.c +++ b/sys/arch/amiga/dev/zssc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zssc.c,v 1.7 1996/05/02 06:44:39 niklas Exp $ */ +/* $OpenBSD: zssc.c,v 1.8 1996/11/23 21:45:25 kstailey Exp $ */ /* $NetBSD: zssc.c,v 1.16 1996/04/21 21:12:45 veego Exp $ */ /* @@ -51,7 +51,7 @@ #include #include -int zsscprint __P((void *auxp, char *)); +int zsscprint __P((void *auxp, const char *)); void zsscattach __P((struct device *, struct device *, void *)); int zsscmatch __P((struct device *, void *, void *)); int zssc_dmaintr __P((void *)); @@ -154,7 +154,7 @@ zsscattach(pdp, dp, auxp) int zsscprint(auxp, pnp) void *auxp; - char *pnp; + const char *pnp; { if (pnp == NULL) return(UNCONF); -- cgit v1.2.3