Add some missing const, from Jere Viikari.

This commit is contained in:
nicm
2026-06-13 20:07:30 +00:00
parent d23a2b7e97
commit 5b6ed54817
4 changed files with 13 additions and 12 deletions

View File

@@ -152,7 +152,8 @@ environ_clear(struct environ *env, const char *name)
void
environ_put(struct environ *env, const char *var, int flags)
{
char *name, *value;
char *name;
const char *value;
value = strchr(var, '=');
if (value == NULL)