diff options
author | Michael Brown | 2006-04-24 20:31:37 +0200 |
---|---|---|
committer | Michael Brown | 2006-04-24 20:31:37 +0200 |
commit | 832e86246b37c78466a5a30159bed48ed59eb811 (patch) | |
tree | c931cdff0738445ba4b5d432784ac11af323b35a /src/core/btext.c | |
parent | (librm_base-1b) is already an offset; no need to apply OFFSET(). (diff) | |
download | ipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.gz ipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.xz ipxe-832e86246b37c78466a5a30159bed48ed59eb811.zip |
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
Diffstat (limited to 'src/core/btext.c')
-rw-r--r-- | src/core/btext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/btext.c b/src/core/btext.c index da6c029b..43accc47 100644 --- a/src/core/btext.c +++ b/src/core/btext.c @@ -434,7 +434,7 @@ static void btext_putc(int c) btext_drawchar((unsigned char)c); } -static struct console_driver btext_console __console_driver = { +struct console_driver btext_console __console_driver = { .putchar = btext_putc, .disabled = 1, }; |