diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-01-07 20:50:16 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-01-07 20:50:16 +0200 |
| commit | acc26f85f32c68a51e5cc7b613cd0ea0b0630505 (patch) | |
| tree | 90d68a8292360f0796509f1febc7b66b0a53f4aa /include/apos/initrd.h | |
| parent | 8d90fb3e4a5d02df75584016563ef84901967b9f (diff) | |
| download | kmi-acc26f85f32c68a51e5cc7b613cd0ea0b0630505.tar.gz kmi-acc26f85f32c68a51e5cc7b613cd0ea0b0630505.zip | |
Use #if defined(...) when not guard clause
Diffstat (limited to 'include/apos/initrd.h')
| -rw-r--r-- | include/apos/initrd.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 <apos/pmem.h> #include <apos/vmem.h> -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 */ |
