diff options
Diffstat (limited to 'src/arch/i386')
-rw-r--r-- | src/arch/i386/core/video_subr.c | 4 | ||||
-rw-r--r-- | src/arch/i386/firmware/pcbios/bios_console.c | 2 | ||||
-rw-r--r-- | src/arch/i386/image/nbi.c | 2 | ||||
-rw-r--r-- | src/arch/i386/include/relocate.h | 8 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/arch/i386/core/video_subr.c b/src/arch/i386/core/video_subr.c index dbcfc73d..66aee114 100644 --- a/src/arch/i386/core/video_subr.c +++ b/src/arch/i386/core/video_subr.c @@ -12,7 +12,7 @@ #include "init.h" #include "vga.h" -static struct console_driver vga_console; +struct console_driver vga_console; static char *vidmem; /* The video buffer */ static int video_line, video_col; @@ -94,7 +94,7 @@ static void vga_putc(int byte) write_crtc((video_col + (video_line *COLS)) & 0x0ff, CRTC_CURSOR_LO); } -static struct console_driver vga_console __console_driver = { +struct console_driver vga_console __console_driver = { .putchar = vga_putc, .disabled = 1, }; diff --git a/src/arch/i386/firmware/pcbios/bios_console.c b/src/arch/i386/firmware/pcbios/bios_console.c index f6ea952f..c1c8273c 100644 --- a/src/arch/i386/firmware/pcbios/bios_console.c +++ b/src/arch/i386/firmware/pcbios/bios_console.c @@ -68,7 +68,7 @@ static int bios_iskey ( void ) { return ( ( flags & ZF ) == 0 ); } -static struct console_driver bios_console __console_driver = { +struct console_driver bios_console __console_driver = { .putchar = bios_putchar, .getchar = bios_getchar, .iskey = bios_iskey, diff --git a/src/arch/i386/image/nbi.c b/src/arch/i386/image/nbi.c index f5d9e382..7a2db255 100644 --- a/src/arch/i386/image/nbi.c +++ b/src/arch/i386/image/nbi.c @@ -404,7 +404,7 @@ static int nbi_boot ( void *context ) { } /** Declaration of the NBI image format */ -static struct image nbi_image __image = { +struct image nbi_image __image = { .name = "NBI", .probe = nbi_probe, .load = nbi_load, diff --git a/src/arch/i386/include/relocate.h b/src/arch/i386/include/relocate.h index 5e87c693..d8002185 100644 --- a/src/arch/i386/include/relocate.h +++ b/src/arch/i386/include/relocate.h @@ -15,10 +15,10 @@ struct post_reloc_fn { #define POST_RELOC_LIBRM 00 /* Macro for creating a post-relocation function table entry */ -#define POST_RELOC_FN( order, post_reloc_func ) \ - static struct post_reloc_fn PREFIX_OBJECT(post_reloc_fn__) \ - __table ( post_reloc_fn, order ) = { \ - .post_reloc = post_reloc_func, \ +#define POST_RELOC_FN( order, post_reloc_func ) \ + struct post_reloc_fn PREFIX_OBJECT(post_reloc_fn__) \ + __table ( post_reloc_fn, order ) = { \ + .post_reloc = post_reloc_func, \ }; #endif |