mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
This commit is contained in:
@@ -107,6 +107,6 @@ static int kbd_getc(void)
|
||||
return c;
|
||||
}
|
||||
|
||||
static struct console_driver pc_kbd_console __console_driver = {
|
||||
struct console_driver pc_kbd_console __console_driver = {
|
||||
.getchar = kbd_getc,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user