Minor boot fixes.
diff --git a/src/boot.c b/src/boot.c
index 05fb3dd..1cd4126 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -41,6 +41,7 @@
     if (!Bootorder) {
         warn_noalloc();
         free(f);
+        BootorderCount = 0;
         return;
     }
 
diff --git a/src/boot.h b/src/boot.h
index 62f4b2b..a6f358f 100644
--- a/src/boot.h
+++ b/src/boot.h
@@ -3,7 +3,6 @@
 #define __BOOT_H
 
 // boot.c
-extern struct ipl_s IPL;
 void boot_setup(void);
 void boot_add_bev(u16 seg, u16 bev, u16 desc, int prio);
 void boot_add_bcv(u16 seg, u16 ip, u16 desc, int prio);