Make the proposed name arg to dev_stdclone() const.

This commit is contained in:
Poul-Henning Kamp 2002-03-10 10:50:05 +00:00
parent 42277d473c
commit 01de1b13b8
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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 */

View File

@ -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 */