From: Michael Tremer Date: Sun, 29 Jun 2025 14:27:53 +0000 (+0000) Subject: root: Remove an unused function to fetch the context X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=341bd361bcce02f6907eb0f3380111da54e8f2b0;p=pakfire.git root: Remove an unused function to fetch the context Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/root.c b/src/pakfire/root.c index 44aea58b..82fac88e 100644 --- a/src/pakfire/root.c +++ b/src/pakfire/root.c @@ -1187,10 +1187,6 @@ pakfire_root* pakfire_root_unref(pakfire_root* self) { return NULL; } -pakfire_ctx* pakfire_root_get_ctx(pakfire_root* self) { - return pakfire_ctx_ref(self->ctx); -} - int pakfire_root_has_flag(pakfire_root* self, const int flag) { return self->flags & flag; } diff --git a/src/pakfire/root.h b/src/pakfire/root.h index a0e90217..cfe9c9e1 100644 --- a/src/pakfire/root.h +++ b/src/pakfire/root.h @@ -93,8 +93,6 @@ int pakfire_root_check(pakfire_root* pakfire, pakfire_filelist* errors); // Snapshots int pakfire_root_update_snapshot(pakfire_root* pakfire); -pakfire_ctx* pakfire_root_get_ctx(pakfire_root* pakfire); - const char* pakfire_root_get_effective_arch(pakfire_root* pakfire); int pakfire_root_on_root(pakfire_root* pakfire);