summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot/gdt.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-28 16:13:28 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-28 16:13:28 +0000
commit581707811c1c24bb0676e7582c671548b8851436 (patch)
tree7d1263d1f0f2f606adef8c2aeb211910aa421ab0 /src/arch/i386/boot/gdt.c
parentd4e5c0a2282a2af05d620fb0f8806d42a998c6da (diff)
Create lib.h for homeless prototypes.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4878 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/boot/gdt.c')
-rw-r--r--src/arch/i386/boot/gdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/boot/gdt.c b/src/arch/i386/boot/gdt.c
index 0230acf208..069d7b3577 100644
--- a/src/arch/i386/boot/gdt.c
+++ b/src/arch/i386/boot/gdt.c
@@ -20,6 +20,7 @@
#include <types.h>
#include <string.h>
#include <cbmem.h>
+#include <lib.h>
#include <console/console.h>
// Global Descriptor Table, defined in c_start.S
@@ -33,7 +34,6 @@ struct gdtarg {
} __attribute__((packed));
// Copy GDT to new location and reload it
-void move_gdt(void);
void move_gdt(void)
{
void *newgdt;