mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
basic/unit-name: drop unused function
This commit is contained in:
parent
cc4d7d818d
commit
69de5c16ff
@ -20,11 +20,6 @@ bool unit_prefix_is_valid(const char *p) _pure_;
|
|||||||
bool unit_instance_is_valid(const char *i) _pure_;
|
bool unit_instance_is_valid(const char *i) _pure_;
|
||||||
bool unit_suffix_is_valid(const char *s) _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_prefix(const char *n, char **prefix);
|
||||||
int unit_name_to_instance(const char *n, char **instance);
|
int unit_name_to_instance(const char *n, char **instance);
|
||||||
int unit_name_to_prefix_and_instance(const char *n, char **ret);
|
int unit_name_to_prefix_and_instance(const char *n, char **ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user