aboutsummaryrefslogtreecommitdiff
path: root/gdb/environ.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/environ.c')
-rw-r--r--gdb/environ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/environ.c b/gdb/environ.c
index 7092a1a..d661a01 100644
--- a/gdb/environ.c
+++ b/gdb/environ.c
@@ -161,7 +161,7 @@ set_in_environ (struct gdb_environ *e, const char *var, const char *value)
/* Remove the setting for variable VAR from environment E. */
void
-unset_in_environ (struct gdb_environ *e, char *var)
+unset_in_environ (struct gdb_environ *e, const char *var)
{
int len = strlen (var);
char **vector = e->vector;