Nobody uses the return value.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
*
* Free the hash @table's contents. The userdata is
* deallocated with the function provided at creation time.
- *
- * Returns the number of items removed on success, -1 on failure
*/
-ssize_t
+void
virHashRemoveAll(virHashTablePtr table)
{
- return virHashRemoveSet(table,
- _virHashRemoveAllIter,
- NULL);
+ virHashRemoveSet(table, _virHashRemoveAllIter, NULL);
}
/**
/*
* Remove all entries from the hash table.
*/
-ssize_t virHashRemoveAll(virHashTablePtr table);
+void virHashRemoveAll(virHashTablePtr table);
/*
* Retrieve the userdata.