Port rpmostree-builtin-override to C++

Prep for using https://cxx.rs/
This commit is contained in:
Colin Walters 2020-12-21 16:08:51 +00:00 committed by OpenShift Merge Robot
parent 6c47792bd0
commit 626e82fb3a
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ rpm_ostree_SOURCES = src/app/main.cxx \
src/app/rpmostree-builtin-initramfs-etc.c \ src/app/rpmostree-builtin-initramfs-etc.c \
src/app/rpmostree-builtin-livefs.c \ src/app/rpmostree-builtin-livefs.c \
src/app/rpmostree-builtin-usroverlay.c \ src/app/rpmostree-builtin-usroverlay.c \
src/app/rpmostree-builtin-override.c \ src/app/rpmostree-builtin-override.cxx \
src/app/rpmostree-builtin-refresh-md.c \ src/app/rpmostree-builtin-refresh-md.c \
src/app/rpmostree-builtin-reset.cxx \ src/app/rpmostree-builtin-reset.cxx \
src/app/rpmostree-pkg-builtins.cxx \ src/app/rpmostree-pkg-builtins.cxx \

View File

@ -33,7 +33,7 @@ static RpmOstreeCommand override_subcommands[] = {
{ "reset", RPM_OSTREE_BUILTIN_FLAG_SUPPORTS_PKG_INSTALLS, { "reset", RPM_OSTREE_BUILTIN_FLAG_SUPPORTS_PKG_INSTALLS,
"Reset currently active package overrides", "Reset currently active package overrides",
rpmostree_override_builtin_reset }, rpmostree_override_builtin_reset },
{ NULL, 0, NULL, NULL } { NULL, (RpmOstreeBuiltinFlags)0, NULL, NULL }
}; };
gboolean gboolean