]> git.ipfire.org Git - people/ms/pakfire.git/commitdiff
root: Remove an unused function to fetch the context
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 29 Jun 2025 14:27:53 +0000 (14:27 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 29 Jun 2025 14:27:53 +0000 (14:27 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/root.c
src/pakfire/root.h

index 44aea58b9c2ed603ad3fa016f5925af37f143cac..82fac88ecabd0ff61b6473b1f4223e969b0e14c7 100644 (file)
@@ -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;
 }
index a0e902175a4add3dbc416f1d5b99889ad44244f0..cfe9c9e159d9cb7094a229d073d4d1728eae21cc 100644 (file)
@@ -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);