From a6b542b389d0536d2730c1721164a712ec2f020e Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 22 May 2019 11:32:11 +0200 Subject: Add new usbmuxd_events_subscribe/unsubscribe functions with a context so it can be used in different threads --- common/collection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/collection.h') diff --git a/common/collection.h b/common/collection.h index a91a465..47b9b7f 100644 --- a/common/collection.h +++ b/common/collection.h @@ -29,7 +29,7 @@ struct collection { void collection_init(struct collection *col); void collection_add(struct collection *col, void *element); -void collection_remove(struct collection *col, void *element); +int collection_remove(struct collection *col, void *element); int collection_count(struct collection *col); void collection_free(struct collection *col); -- cgit v1.1-32-gdbae