summaryrefslogtreecommitdiff
path: root/device/dev_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'device/dev_name.c')
-rw-r--r--device/dev_name.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/device/dev_name.c b/device/dev_name.c
index 930930b..49d96aa 100644
--- a/device/dev_name.c
+++ b/device/dev_name.c
@@ -65,9 +65,9 @@ nomap(void)
*/
boolean_t
name_equal(src, len, target)
- char *src;
- int len;
- char *target;
+ const char *src;
+ int len;
+ const char *target;
{
while (--len >= 0)
if (*src++ != *target++)
@@ -191,7 +191,7 @@ boolean_t dev_name_lookup(name, ops, unit)
*/
void
dev_set_indirection(name, ops, unit)
- char *name;
+ const char *name;
dev_ops_t ops;
int unit;
{
@@ -207,9 +207,9 @@ dev_set_indirection(name, ops, unit)
}
boolean_t dev_change_indirect(iname, dname, unit)
- char *iname;
- char *dname;
- int unit;
+ const char *iname;
+ const char *dname;
+ int unit;
{
struct dev_ops *dp;
struct dev_indirect *di;