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/arc/dti | |
parent | 306adfe37a19b924bfe990750192540a4af86079 (diff) |
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/arch/arc/dti')
-rw-r--r-- | sys/arch/arc/dti/btl.c | 4 | ||||
-rw-r--r-- | sys/arch/arc/dti/desktechbus.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/arc/dti/btl.c b/sys/arch/arc/dti/btl.c index 7c5e9480a42..ad43b29d4aa 100644 --- a/sys/arch/arc/dti/btl.c +++ b/sys/arch/arc/dti/btl.c @@ -175,7 +175,7 @@ struct scsi_device bt_dev = { int btprobe __P((struct device *, void *, void *)); void btattach __P((struct device *, struct device *, void *)); -int btprint __P((void *, char *)); +int btprint __P((void *, const char *)); struct cfattach btl_ca = { sizeof(struct bt_softc), btprobe, btattach @@ -352,7 +352,7 @@ btprobe(parent, match, aux) int btprint(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) diff --git a/sys/arch/arc/dti/desktechbus.c b/sys/arch/arc/dti/desktechbus.c index 6a7aa4dbedc..22356ebf800 100644 --- a/sys/arch/arc/dti/desktechbus.c +++ b/sys/arch/arc/dti/desktechbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: desktechbus.c,v 1.2 1996/09/14 15:58:24 pefo Exp $ */ +/* $OpenBSD: desktechbus.c,v 1.3 1996/11/23 21:45:32 kstailey Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -51,7 +51,7 @@ struct dti_softc { /* Definition of the driver for autoconfig. */ int dtimatch(struct device *, void *, void *); void dtiattach(struct device *, struct device *, void *); -int dtiprint(void *, char *); +int dtiprint(void *, const char *); struct cfattach dti_ca = { sizeof(struct dti_softc), dtimatch, dtiattach @@ -204,7 +204,7 @@ dtiattach(parent, self, aux) int dtiprint(aux, pnp) void *aux; - char *pnp; + const char *pnp; { struct confargs *ca = aux; |