summaryrefslogtreecommitdiff
path: root/src/shared/env-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-23 19:04:56 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-23 19:15:27 +0100
commit039f0e70a0fcd71dcf7cc2f3ba2cea2e3b186a60 (patch)
tree33cec7bc03e0dbc2d4c69117cf383f3d4d7d5c60 /src/shared/env-util.h
parent3c70e3bb022f0de3317f3600c9366a2f4597339e (diff)
env-util: don't include files from src/core/
Diffstat (limited to 'src/shared/env-util.h')
-rw-r--r--src/shared/env-util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/env-util.h b/src/shared/env-util.h
index 3c6f9d743f..fb3a52b707 100644
--- a/src/shared/env-util.h
+++ b/src/shared/env-util.h
@@ -29,8 +29,8 @@ bool env_value_is_valid(const char *e);
bool env_assignment_is_valid(const char *e);
bool strv_env_is_valid(char **e);
-char **strv_env_clean(char **l);
-char **strv_env_clean_log(char **e, const char *unit_id, const char *message);
+#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);
bool strv_env_name_or_assignment_is_valid(char **l);