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/apos/initrd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/apos/initrd.h') diff --git a/include/apos/initrd.h b/include/apos/initrd.h index 4b28ba8..17ed94c 100644 --- a/include/apos/initrd.h +++ b/include/apos/initrd.h @@ -5,10 +5,10 @@ #include #include -size_t get_init_size(void *fdt); -vm_t get_init_base(void *fdt); +size_t get_init_size(const void *fdt); +vm_t get_init_base(const void *fdt); -pm_t get_initrdtop(void *fdt); -pm_t get_initrdbase(void *fdt); +pm_t get_initrdtop(const void *fdt); +pm_t get_initrdbase(const void *fdt); #endif /* APOS_INITRD_H */ -- cgit v1.3