sysroot: Remove unimplemented ostree_sysroot_lock_with_mount_namespace
authorColin Walters <walters@verbum.org>
Thu, 18 Jun 2020 21:19:43 +0000 (21:19 +0000)
committerColin Walters <walters@verbum.org>
Thu, 18 Jun 2020 21:19:43 +0000 (21:19 +0000)
This came in with 5af403be0cc64df50ad21cef05f3268ead256d6d but
was never implemented.

I noticed this now because the Rust ostree bindings generate a
wrapper for it which the linker tries to use.

src/libostree/ostree-sysroot.h

index af8192fc409464903de04cc0bafbbd44c3d3d3b0..d9f5a5468583c533c706675e9872dfea68ac8da9 100644 (file)
@@ -101,9 +101,6 @@ GFile * ostree_sysroot_get_deployment_origin_path (GFile   *deployment_path);
 _OSTREE_PUBLIC
 gboolean ostree_sysroot_lock (OstreeSysroot  *self, GError **error);
 
-_OSTREE_PUBLIC
-gboolean ostree_sysroot_lock_with_mount_namespace (OstreeSysroot  *self, GError **error);
-
 _OSTREE_PUBLIC
 gboolean ostree_sysroot_try_lock (OstreeSysroot         *self,
                                   gboolean              *out_acquired,