aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-10-19 16:37:32 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-10-26 16:15:02 +0100
commit9b6f8c8cfb405f5c4f1aa7a42cf9f7f077a51c45 (patch)
tree070bccb7bcf1e732cf3bf784b1482e40e65e46fc
parent0a470703bacd04fc8914a86ae5c8b550ae3bf812 (diff)
downloadsyslinux-9b6f8c8cfb405f5c4f1aa7a42cf9f7f077a51c45.tar.gz
syslinux-9b6f8c8cfb405f5c4f1aa7a42cf9f7f077a51c45.tar.xz
syslinux-9b6f8c8cfb405f5c4f1aa7a42cf9f7f077a51c45.zip
efi: Forward declare 'struct screen_info'
efi/efi.h:13:26: warning: ‘struct screen_info’ declared inside parameter list [enabled by default] efi/efi.h:13:26: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r--efi/efi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/efi/efi.h b/efi/efi.h
index 8ffe5332..cab49852 100644
--- a/efi/efi.h
+++ b/efi/efi.h
@@ -9,6 +9,8 @@
#include <efistdarg.h>
extern EFI_HANDLE image_handle;
-void setup_screen(struct screen_info *); /* fix build error */
+
+struct screen_info;
+extern void setup_screen(struct screen_info *);
#endif /* _SYSLINUX_EFI_H */