[NFC][libc] Delete dead BlockStatus enum type

This commit is contained in:
Daniel Thornburgh 2025-01-16 15:16:33 -08:00
parent 859b4f1938
commit 305639526a

View File

@ -24,17 +24,6 @@
namespace LIBC_NAMESPACE_DECL {
namespace internal {
// Types of corrupted blocks, and functions to crash with an error message
// corresponding to each type.
enum class BlockStatus {
VALID,
MISALIGNED,
PREV_MISMATCHED,
NEXT_MISMATCHED,
};
} // namespace internal
/// Returns the value rounded down to the nearest multiple of alignment.
LIBC_INLINE constexpr size_t align_down(size_t value, size_t alignment) {
// Note this shouldn't overflow since the result will always be <= value.