summaryrefslogtreecommitdiff
path: root/src/util/virstring.h
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2021-02-05 14:34:31 +0100
committerPeter Krempa <pkrempa@redhat.com>2021-02-11 17:05:33 +0100
commite6c9c44e9a1f732a0aab9cdf04ac16b4509aa862 (patch)
tree9377150f3f4756bf2784a36d0d8d8bfd98356134 /src/util/virstring.h
parent7cc34189158e86d7c609452159ff4994b3c959f8 (diff)
downloadlibvirt-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.h3
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,