diff options
author | phk <phk@FreeBSD.org> | 2002-03-10 10:50:05 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-03-10 10:50:05 +0000 |
commit | e28f5bfbe149c363a451afefcb8037cc742eb66a (patch) | |
tree | 55ef7750e36d75f20ef71604fae0d78b804e762c /sys | |
parent | d86c11330da98ee0d6b061b338e165200d610381 (diff) | |
download | FreeBSD-src-e28f5bfbe149c363a451afefcb8037cc742eb66a.zip FreeBSD-src-e28f5bfbe149c363a451afefcb8037cc742eb66a.tar.gz |
Make the proposed name arg to dev_stdclone() const.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_conf.c | 2 | ||||
-rw-r--r-- | sys/sys/conf.h | 2 | ||||
-rw-r--r-- | sys/sys/linedisc.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index db9a485e..d0c988b 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -426,7 +426,7 @@ devtoname(dev_t dev) } int -dev_stdclone(char *name, char **namep, char *stem, int *unit) +dev_stdclone(char *name, char **namep, const char *stem, int *unit) { int u, i; diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 130f5cb..f4e3dde 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -353,7 +353,7 @@ extern int devfs_present; typedef void (*dev_clone_fn) __P((void *arg, char *name, int namelen, dev_t *result)); -int dev_stdclone __P((char *name, char **namep, char *stem, int *unit)); +int dev_stdclone __P((char *name, char **namep, const char *stem, int *unit)); EVENTHANDLER_DECLARE(dev_clone, dev_clone_fn); #endif /* _KERNEL */ diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h index 130f5cb..f4e3dde 100644 --- a/sys/sys/linedisc.h +++ b/sys/sys/linedisc.h @@ -353,7 +353,7 @@ extern int devfs_present; typedef void (*dev_clone_fn) __P((void *arg, char *name, int namelen, dev_t *result)); -int dev_stdclone __P((char *name, char **namep, char *stem, int *unit)); +int dev_stdclone __P((char *name, char **namep, const char *stem, int *unit)); EVENTHANDLER_DECLARE(dev_clone, dev_clone_fn); #endif /* _KERNEL */ |