From: Michael Tremer Date: Wed, 25 Jun 2025 15:40:39 +0000 (+0000) Subject: httpclient: Drop unused function to return the event loop X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=429d45e2c0e5e92ce7e2de378390a12e9bb43121;p=pakfire.git httpclient: Drop unused function to return the event loop Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/httpclient.c b/src/pakfire/httpclient.c index bd7a95d9..792744dc 100644 --- a/src/pakfire/httpclient.c +++ b/src/pakfire/httpclient.c @@ -691,10 +691,6 @@ struct pakfire_httpclient* pakfire_httpclient_unref(struct pakfire_httpclient* s return NULL; } -sd_event* pakfire_httpclient_get_loop(struct pakfire_httpclient* self) { - return sd_event_ref(self->loop); -} - int pakfire_httpclient_enqueue(struct pakfire_httpclient* self, struct pakfire_xfer* xfer) { struct pakfire_httpclient_xfer* e = NULL; int r; diff --git a/src/pakfire/httpclient.h b/src/pakfire/httpclient.h index 52fcbb39..9f09123f 100644 --- a/src/pakfire/httpclient.h +++ b/src/pakfire/httpclient.h @@ -35,8 +35,6 @@ int pakfire_httpclient_create(struct pakfire_httpclient** client, struct pakfire_httpclient* pakfire_httpclient_ref(struct pakfire_httpclient* self); struct pakfire_httpclient* pakfire_httpclient_unref(struct pakfire_httpclient* self); -sd_event* pakfire_httpclient_get_loop(struct pakfire_httpclient* self); - int pakfire_httpclient_enqueue(struct pakfire_httpclient* self, struct pakfire_xfer* xfer); int pakfire_httpclient_dequeue(struct pakfire_httpclient* self, struct pakfire_xfer* xfer);