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>
This commit is contained in:
Kevin O'Connor 2021-12-18 12:00:16 -05:00
parent f9af71744a
commit 0a1e7675f7
1 changed files with 2 additions and 2 deletions

View File

@ -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 */