From acc26f85f32c68a51e5cc7b613cd0ea0b0630505 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 7 Jan 2022 20:50:16 +0200 Subject: Use #if defined(...) when not guard clause --- include/arch/vmem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/arch/vmem.h') diff --git a/include/arch/vmem.h b/include/arch/vmem.h index 17fa13d..ddb0e54 100644 --- a/include/arch/vmem.h +++ b/include/arch/vmem.h @@ -18,8 +18,8 @@ void flush_tlb_all(); void populate_root_branch(struct vm_branch *b); struct vm_branch *init_vmem(void *fdt); -#ifdef DEBUG -stat_t setup_kernel_io(struct vm_branch *b, vm_t paddr); +#if defined(DEBUG) +vm_t setup_kernel_io(struct vm_branch *b, vm_t paddr); #endif #endif /* APOS_ARCH_PAGES_H */ -- cgit v1.3