summaryrefslogtreecommitdiff
path: root/tests/virbitmaptest.c
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2021-12-06 15:47:00 +0100
committerPeter Krempa <pkrempa@redhat.com>2021-12-10 16:36:24 +0100
commit3c9b04cb122934570766cf6d7d40c4f888dd71b4 (patch)
tree74923abc275c98652449b3bbb7554dfb90ea5fa3 /tests/virbitmaptest.c
parent628be89e8755f9fb9ccdda5aede2a81551ccf74d (diff)
downloadlibvirt-3c9b04cb122934570766cf6d7d40c4f888dd71b4.tar.gz
util: bitmap: Unexport 'virBitmapParseSeparator'
The function isn't used besides tests. Since the separator parsing capability is trivial we can keep it in place and just unexport it for now. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'tests/virbitmaptest.c')
-rw-r--r--tests/virbitmaptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/virbitmaptest.c b/tests/virbitmaptest.c
index 02241c4c20..1794f73f34 100644
--- a/tests/virbitmaptest.c
+++ b/tests/virbitmaptest.c
@@ -497,7 +497,7 @@ test10(const void *opaque G_GNUC_UNUSED)
g_autoptr(virBitmap) b3 = NULL;
g_autoptr(virBitmap) b4 = NULL;
- if (virBitmapParseSeparator("0-3,5-8,11-15f16", 'f', &b1, 20) < 0 ||
+ if (virBitmapParse("0-3,5-8,11-15", &b1, 20) < 0 ||
virBitmapParse("4,9,10,16-19", &b2, 20) < 0 ||
virBitmapParse("15", &b3, 20) < 0 ||
virBitmapParse("0,^0", &b4, 20) < 0)