Browse Source

loadkernel no longer exists; it is now download_url and lives in nic.c.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
332b40b986
1 changed files with 2 additions and 6 deletions
  1. 2
    6
      src/include/etherboot.h

+ 2
- 6
src/include/etherboot.h View File

@@ -107,9 +107,7 @@
107 107
 
108 108
 enum {
109 109
 	ARP_CLIENT, ARP_SERVER, ARP_GATEWAY,
110
-#ifdef DNS_RESOLVER
111 110
 	ARP_NAMESERVER,
112
-#endif
113 111
 #ifdef PXE_EXPORT
114 112
 	ARP_PROXYDHCP,
115 113
 #endif
@@ -144,9 +142,10 @@ enum {
144 142
 #include	"igmp.h"
145 143
 #include	"nfs.h"
146 144
 #include	"console.h"
145
+#include	"stdlib.h"
147 146
 
148 147
 struct arptable_t {
149
-	in_addr ipaddr;
148
+	struct in_addr ipaddr;
150 149
 	uint8_t node[6];
151 150
 } PACKED;
152 151
 
@@ -182,7 +181,6 @@ External prototypes
182 181
 /* main.c */
183 182
 struct Elf_Bhdr;
184 183
 extern int main();
185
-extern int loadkernel P((const char *fname, int (*)(unsigned char *, unsigned int, unsigned int, int)));
186 184
 extern char as_main_program;
187 185
 /* nic.c */
188 186
 extern void rx_qdrain P((void));
@@ -260,8 +258,6 @@ extern void interruptible_sleep P((int secs));
260 258
 extern void poll_interruptions P((void));
261 259
 extern int strcasecmp P((const char *a, const char *b));
262 260
 extern char *substr P((const char *a, const char *b));
263
-extern unsigned long strtoul P((const char *p, const char **, int base));
264
-extern int inet_aton P((const char *p, in_addr *i));
265 261
 
266 262
 extern unsigned long get_boot_order(unsigned long order, unsigned *index);
267 263
 extern void disk_init P((void));

Loading…
Cancel
Save