diff options
author | Sven Eden <sven.eden@prydeworx.com> | 2018-10-24 08:22:22 +0200 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-11-08 08:02:57 +0100 |
commit | 0f0857b9478c382b392cdf970e4d188df8b0da9c (patch) | |
tree | cb94ededf77a7a395ca43864f07fc485946d6469 /src/basic/unit-name.c | |
parent | 18924a1e18b3c6159bf49a364e8bc339bb5175ae (diff) |
Prep v240: Cleanup empty mask blocks and unused functions.
Diffstat (limited to 'src/basic/unit-name.c')
-rw-r--r-- | src/basic/unit-name.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/basic/unit-name.c b/src/basic/unit-name.c index bd0e3f428..13c86e30f 100644 --- a/src/basic/unit-name.c +++ b/src/basic/unit-name.c @@ -102,6 +102,7 @@ bool unit_instance_is_valid(const char *i) { return in_charset(i, "@" VALID_CHARS); } +#if 0 /// UNNEEDED by elogind bool unit_suffix_is_valid(const char *s) { if (isempty(s)) @@ -116,7 +117,6 @@ bool unit_suffix_is_valid(const char *s) { return true; } -#if 0 /// UNNEEDED by elogind int unit_name_to_prefix(const char *n, char **ret) { const char *p; char *s; @@ -193,7 +193,6 @@ int unit_name_to_prefix_and_instance(const char *n, char **ret) { *ret = s; return 0; } -#endif // 0 UnitType unit_name_to_type(const char *n) { const char *e; @@ -208,7 +207,6 @@ UnitType unit_name_to_type(const char *n) { return unit_type_from_string(e + 1); } -#if 0 /// UNNEEDED by elogind int unit_name_change_suffix(const char *n, const char *suffix, char **ret) { char *e, *s; size_t a, b; |