1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

define pointer to multiboot_info_t as const

- we shouldn't change this pointer
This commit is contained in:
Stefan Lankes 2017-05-20 13:59:08 +02:00
parent 3138d999dd
commit fda002a9da

View file

@ -143,6 +143,6 @@ typedef struct multiboot_mod_list multiboot_module_t;
/// Pointer to multiboot structure
/// This pointer is declared at set by entry.asm
extern multiboot_info_t* mb_info;
extern const multiboot_info_t* const mb_info;
#endif