aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-12-18 12:00:16 -0500
committerKevin O'Connor <kevin@koconnor.net>2021-12-18 12:00:16 -0500
commit0a1e7675f7672b29f7bca3cceb8238b4a28d2b00 (patch)
treef36cc41c9233caeadeff8d8a5df6fe035505262d
parentf9af71744a9f9a5d4804edcfcd14fd85e2d8a83b (diff)
downloadseabios-0a1e7675f7672b29f7bca3cceb8238b4a28d2b00.tar.gz
vgasrc: Don't use VAR16 in header files to fix gcc warning
Some versions of gcc complain when VAR16 is used in both the header and C files - use only in the C file to fix the warning. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--vgasrc/svgamodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vgasrc/svgamodes.h b/vgasrc/svgamodes.h
index 782d30b9..6ac1d643 100644
--- a/vgasrc/svgamodes.h
+++ b/vgasrc/svgamodes.h
@@ -6,7 +6,7 @@ struct generic_svga_mode {
struct vgamode_s info;
};
-extern struct generic_svga_mode svga_modes[] VAR16;
-extern unsigned int svga_mcount VAR16;
+extern struct generic_svga_mode svga_modes[];
+extern unsigned int svga_mcount;
#endif /* __SVGAMODES_H */