summaryrefslogtreecommitdiff
path: root/sys/arch/arc/dev
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/arc/dev
parent306adfe37a19b924bfe990750192540a4af86079 (diff)
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/arch/arc/dev')
-rw-r--r--sys/arch/arc/dev/asc.c6
-rw-r--r--sys/arch/arc/dev/fd.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/arc/dev/asc.c b/sys/arch/arc/dev/asc.c
index 35de8d19872..240285177d1 100644
--- a/sys/arch/arc/dev/asc.c
+++ b/sys/arch/arc/dev/asc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asc.c,v 1.3 1996/09/28 10:08:03 pefo Exp $ */
+/* $OpenBSD: asc.c,v 1.4 1996/11/23 21:45:29 kstailey Exp $ */
/* $NetBSD: asc.c,v 1.10 1994/12/05 19:11:12 dean Exp $ */
/*-
@@ -440,7 +440,7 @@ typedef struct asc_softc *asc_softc_t;
*/
int ascmatch __P((struct device *, void *, void *));
void ascattach __P((struct device *, struct device *, void *));
-int ascprint(void *, char *);
+int ascprint(void *, const char *);
int asc_doprobe __P((void *, int, int, struct device *));
@@ -607,7 +607,7 @@ ascattach(parent, self, aux)
int
ascprint(aux, name)
void *aux;
- char *name;
+ const char *name;
{
return -1;
}
diff --git a/sys/arch/arc/dev/fd.c b/sys/arch/arc/dev/fd.c
index e0f69b60166..e932868c54f 100644
--- a/sys/arch/arc/dev/fd.c
+++ b/sys/arch/arc/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.3 1996/11/06 01:34:00 deraadt Exp $ */
+/* $OpenBSD: fd.c,v 1.4 1996/11/23 21:45:30 kstailey Exp $ */
/* $NetBSD: fd.c,v 1.78 1995/07/04 07:23:09 mycroft Exp $ */
/*-
@@ -249,7 +249,7 @@ struct fdc_attach_args {
int
fdprint(aux, fdc)
void *aux;
- char *fdc;
+ const char *fdc;
{
register struct fdc_attach_args *fa = aux;