newbie here. Can any body explain what is the hook() here? A function? well, why there is an auto ahead int? why can it be invoked by grub_module_iterate (hook); Thanks in advance.
grub_load_modules (void)
{ auto int hook (struct grub_module_header *); int hook (struct grub_module_header *header) { /* Not an ELF module, skip. */ if (header->type != OBJ_TYPE_ELF) return 0;