summaryrefslogtreecommitdiffstats
path: root/src/basic/unit-name.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-02 10:55:25 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-19 16:49:41 +0200
commit69de5c16ff89050bc5b4cc9e02eb8e8d082a641a (patch)
treed54e7f3e6a4d8cbc27b78a605eae30795c7bf068 /src/basic/unit-name.h
parentpath-util: add path_startswith_strv() (diff)
downloadsystemd-69de5c16ff89050bc5b4cc9e02eb8e8d082a641a.tar.xz
systemd-69de5c16ff89050bc5b4cc9e02eb8e8d082a641a.zip
basic/unit-name: drop unused function
Diffstat (limited to '')
-rw-r--r--src/basic/unit-name.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/basic/unit-name.h b/src/basic/unit-name.h
index 0629db3f67..2bbf73b42a 100644
--- a/src/basic/unit-name.h
+++ b/src/basic/unit-name.h
@@ -20,11 +20,6 @@ bool unit_prefix_is_valid(const char *p) _pure_;
bool unit_instance_is_valid(const char *i) _pure_;
bool unit_suffix_is_valid(const char *s) _pure_;
-static inline int unit_prefix_and_instance_is_valid(const char *p) {
- /* For prefix+instance and instance the same rules apply */
- return unit_instance_is_valid(p);
-}
-
int unit_name_to_prefix(const char *n, char **prefix);
int unit_name_to_instance(const char *n, char **instance);
int unit_name_to_prefix_and_instance(const char *n, char **ret);