summaryrefslogtreecommitdiffstats
path: root/src/basic/env-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-10-25 18:46:39 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-10-31 03:02:35 +0100
commite4d477efc6e8500d3e360466ed498aaf1d9a04fa (patch)
tree7ccfc1c2869337cc8711173b30299f2adbe56dbd /src/basic/env-util.h
parentTEST-13-NSPAWN: add test cases for listing multiple machines (diff)
downloadsystemd-e4d477efc6e8500d3e360466ed498aaf1d9a04fa.tar.xz
systemd-e4d477efc6e8500d3e360466ed498aaf1d9a04fa.zip
env-util: replace 'char **' with 'char**'
Diffstat (limited to '')
-rw-r--r--src/basic/env-util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/env-util.h b/src/basic/env-util.h
index 5f20f1d69c..f5ceba453a 100644
--- a/src/basic/env-util.h
+++ b/src/basic/env-util.h
@@ -34,14 +34,14 @@ int replace_env_argv(char **argv, char **env, char ***ret, char ***ret_unset_var
bool strv_env_is_valid(char **e);
#define strv_env_clean(l) strv_env_clean_with_callback(l, NULL, NULL)
-char **strv_env_clean_with_callback(char **l, void (*invalid_callback)(const char *p, void *userdata), void *userdata);
+char** strv_env_clean_with_callback(char **l, void (*invalid_callback)(const char *p, void *userdata), void *userdata);
bool strv_env_name_is_valid(char **l);
bool strv_env_name_or_assignment_is_valid(char **l);
char** _strv_env_merge(char **first, ...);
#define strv_env_merge(first, ...) _strv_env_merge(first, __VA_ARGS__, POINTER_MAX)
-char **strv_env_delete(char **x, size_t n_lists, ...); /* New copy */
+char** strv_env_delete(char **x, size_t n_lists, ...); /* New copy */
char** strv_env_unset(char **l, const char *p); /* In place ... */
char** strv_env_unset_many_internal(char **l, ...) _sentinel_;