summaryrefslogtreecommitdiffstats
path: root/include/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/env.h')
-rw-r--r--include/env.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/env.h b/include/env.h
index 9a0ec4f..9b29919 100644
--- a/include/env.h
+++ b/include/env.h
@@ -30,7 +30,7 @@ static inline void xsetenv(char const *name, char const *val, int overwrite)
err(XSETENV_EXIT_CODE, _("failed to set the %s environment variable"), name);
}
-static inline int remote_entry(char **argv, int remove, int last)
+static inline int remove_entry(char **argv, int remove, int last)
{
memmove(argv + remove, argv + remove + 1, sizeof(char *) * (last - remove));
return last - 1;