diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-11-09 11:12:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-11-13 10:47:15 +0100 |
commit | 7546145e26e4feecf0994d84e888d7da9c47424b (patch) | |
tree | 569506c6a090d0e18cbc55f21511b16f051e4d69 /src/libudev/libudev-private.h | |
parent | 78f3c4bca5e1c454248fb915653bcefa5b59ac49 (diff) | |
download | systemd-7546145e26e4feecf0994d84e888d7da9c47424b.tar.gz |
string-util: add delete_trailing_chars() and skip_leading_chars() helpers
And let's port over a couple of users to the new APIs.
Diffstat (limited to 'src/libudev/libudev-private.h')
-rw-r--r-- | src/libudev/libudev-private.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h index 52c5075110..818da8465e 100644 --- a/src/libudev/libudev-private.h +++ b/src/libudev/libudev-private.h @@ -138,7 +138,6 @@ int udev_queue_export_device_finished(struct udev_queue_export *udev_queue_expor #define UDEV_ALLOWED_CHARS_INPUT "/ $%?," int util_log_priority(const char *priority); size_t util_path_encode(const char *src, char *dest, size_t size); -void util_remove_trailing_chars(char *path, char c); int util_replace_whitespace(const char *str, char *to, size_t len); int util_replace_chars(char *str, const char *white); unsigned int util_string_hash32(const char *key); |