From a9655c70858d70809e8f847c7c4ecd6052611eac Mon Sep 17 00:00:00 2001 From: Mars Date: Sun, 4 May 2025 15:36:40 -0400 Subject: [PATCH] remove unneeded stuff --- src/os/bsd/pkg_count.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/os/bsd/pkg_count.cpp b/src/os/bsd/pkg_count.cpp index de2501c..ff3d4e0 100644 --- a/src/os/bsd/pkg_count.cpp +++ b/src/os/bsd/pkg_count.cpp @@ -5,27 +5,14 @@ #include // SQLite::Exception #include // SQLite::Statement -#include // std::chrono -#include // std::filesystem -#include // std::format #include // glz::write_beve #include // glz::object #include // glz::detail::Object -#include // std::error_code -#include "src/os/bsd/pkg_count.hpp" -#include "src/os/os.hpp" -#include "src/util/cache.hpp" +#include "src/core/package.hpp" #include "src/util/defs.hpp" -#include "src/util/error.hpp" -#include "src/util/logging.hpp" -#include "src/util/types.hpp" // clang-format on -using util::error::DracError, util::error::DracErrorCode; -using util::types::u64, util::types::i64, util::types::Result, util::types::Err, util::types::String, - util::types::StringView, util::types::Exception; - namespace package { #if defined(__FreeBSD__) || defined(__DragonFly__) fn GetPkgNgCount() -> Result {