The function is now unused.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
virBitmapClearAll;
virBitmapClearBit;
virBitmapClearBitExpand;
-virBitmapCopy;
virBitmapCountBits;
virBitmapDataFormat;
virBitmapEqual;
}
-/**
- * virBitmapCopy:
- * @dst: destination bitmap
- * @src: source bitmap
- *
- * Copies contents of @src to @dst. @dst must have the same size as @src.
- * Returns -1 if the size is not the same or 0 on success.
- */
-int
-virBitmapCopy(virBitmapPtr dst,
- virBitmapPtr src)
-{
- if (dst->nbits != src->nbits) {
- errno = EINVAL;
- return -1;
- }
-
- memcpy(dst->map, src->map, src->map_len * sizeof(src->map[0]));
-
- return 0;
-}
-
-
/**
* virBitmapSetBit:
* @bitmap: Pointer to bitmap
*/
void virBitmapFree(virBitmapPtr bitmap);
-/*
- * Copy all bits from @src to @dst. The bitmap sizes
- * must be the same
- */
-int virBitmapCopy(virBitmapPtr dst, virBitmapPtr src);
-
/*
* Set bit position @b in @bitmap
*/