De-const to match changes in userboot.h

Sponsored by: Netflix
This commit is contained in:
imp 2017-12-06 05:18:52 +00:00
parent 7955e11a5c
commit 197331155d

View File

@ -513,14 +513,14 @@ cb_getmem(void *arg, uint64_t *ret_lowmem, uint64_t *ret_highmem)
}
struct env {
const char *str; /* name=value */
char *str; /* name=value */
SLIST_ENTRY(env) next;
};
static SLIST_HEAD(envhead, env) envhead;
static void
addenv(const char *str)
addenv(char *str)
{
struct env *env;