diff options
author | Peter Krempa <pkrempa@redhat.com> | 2021-02-05 14:34:31 +0100 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2021-02-11 17:05:33 +0100 |
commit | e6c9c44e9a1f732a0aab9cdf04ac16b4509aa862 (patch) | |
tree | 9377150f3f4756bf2784a36d0d8d8bfd98356134 /src/util/virstring.h | |
parent | 7cc34189158e86d7c609452159ff4994b3c959f8 (diff) | |
download | libvirt-e6c9c44e9a1f732a0aab9cdf04ac16b4509aa862.tar.gz |
virStringListGetFirstWithPrefix: Remove unused helper
This is a uncommon and trivial operation, so having an utility function
for it is pointless.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'src/util/virstring.h')
-rw-r--r-- | src/util/virstring.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/virstring.h b/src/util/virstring.h index 00c669b43b..4705b9c141 100644 --- a/src/util/virstring.h +++ b/src/util/virstring.h @@ -45,9 +45,6 @@ void virStringListFreeCount(char **strings, bool virStringListHasString(const char **strings, const char *needle); -char *virStringListGetFirstWithPrefix(char **strings, - const char *prefix) - ATTRIBUTE_NONNULL(2); int virStrToLong_i(char const *s, char **end_ptr, |