Fix a warning by adding a missing 'const'.
MFC after: 1 week
This commit is contained in:
parent
5b09b18204
commit
9389b62e52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146697
@ -230,7 +230,7 @@ i386_fmtdev(void *vdev)
|
||||
* Set currdev to suit the value being supplied in (value)
|
||||
*/
|
||||
int
|
||||
i386_setcurrdev(struct env_var *ev, int flags, void *value)
|
||||
i386_setcurrdev(struct env_var *ev, int flags, const void *value)
|
||||
{
|
||||
struct i386_devdesc *ncurr;
|
||||
int rv;
|
||||
|
@ -59,7 +59,7 @@ struct i386_devdesc
|
||||
|
||||
int i386_getdev(void **vdev, const char *devspec, const char **path);
|
||||
char *i386_fmtdev(void *vdev);
|
||||
int i386_setcurrdev(struct env_var *ev, int flags, void *value);
|
||||
int i386_setcurrdev(struct env_var *ev, int flags, const void *value);
|
||||
|
||||
extern struct devdesc currdev; /* our current device */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user