From 6db6552377ad6316626b3ab8605a98f96f22c3d2 Mon Sep 17 00:00:00 2001 From: Ryan Ofsky Date: Tue, 7 Jun 2022 21:08:56 -0400 Subject: refactor: Reduce number of SanityChecks return values --- src/kernel/checks.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/kernel/checks.h') diff --git a/src/kernel/checks.h b/src/kernel/checks.h index 80b207f607..3eb14824fb 100644 --- a/src/kernel/checks.h +++ b/src/kernel/checks.h @@ -7,20 +7,16 @@ #include +struct bilingual_str; + namespace kernel { struct Context; -enum class SanityCheckError { - ERROR_ECC, - ERROR_RANDOM, - ERROR_CHRONO, -}; - /** * Ensure a usable environment with all necessary library support. */ -std::optional SanityChecks(const Context&); +std::optional SanityChecks(const Context&); } -- cgit v1.2.3