]> git.ipfire.org Git - thirdparty/grub.git/commit
include/grub/arm/system.h: Include missing <grub/symbol.h> header
authorJavier Martinez Canillas <javierm@redhat.com>
Thu, 5 Nov 2020 14:58:57 +0000 (15:58 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 20 Nov 2020 14:33:40 +0000 (15:33 +0100)
commit11fa824dde96c6675a5f4b2baa348ba2d62cdbbb
tree24298805f7b34c7dfa5640a851172223527b75bb
parentcc316ea337dabfefdd54985cd82c82ad50772ce5
include/grub/arm/system.h: Include missing <grub/symbol.h> header

The header uses the EXPORT_FUNC() macro defined in <grub/types.h> but
doesn't include it, which leads to the following compile error on arm:

../include/grub/cpu/system.h:12:13: error: â€˜EXPORT_FUNC’ declared as function returning a function
   12 | extern void EXPORT_FUNC(grub_arm_disable_caches_mmu) (void);
      |             ^~~~~~~~~~~
../include/grub/cpu/system.h:12:1: warning: parameter names (without types) in function declaration
   12 | extern void EXPORT_FUNC(grub_arm_disable_caches_mmu) (void);
      | ^~~~~~
make[3]: *** [Makefile:36581: kern/efi/kernel_exec-sb.o] Error 1

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
include/grub/arm/system.h