set_sys: Move constants to anonymous namespace

This commit is contained in:
Zach Hilman 2019-03-11 11:16:35 -04:00
parent debc7442f2
commit cd2921a047
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,7 @@
namespace Service::Set { namespace Service::Set {
namespace {
constexpr u64 SYSTEM_VERSION_FILE_MINOR_REVISION_OFFSET = 0x05; constexpr u64 SYSTEM_VERSION_FILE_MINOR_REVISION_OFFSET = 0x05;
enum class GetFirmwareVersionType { enum class GetFirmwareVersionType {
@ -20,7 +21,6 @@ enum class GetFirmwareVersionType {
Version2, Version2,
}; };
namespace {
void GetFirmwareVersionImpl(Kernel::HLERequestContext& ctx, GetFirmwareVersionType type) { void GetFirmwareVersionImpl(Kernel::HLERequestContext& ctx, GetFirmwareVersionType type) {
LOG_WARNING(Service_SET, "called - Using hardcoded firmware version '{}'", LOG_WARNING(Service_SET, "called - Using hardcoded firmware version '{}'",
FileSys::SystemArchive::GetLongDisplayVersion()); FileSys::SystemArchive::GetLongDisplayVersion());