Explorar el Código

printf and sprintf now defined in vsprintf.h, drag in console.h to get

putchar() as well.
tags/v0.9.3
Michael Brown hace 19 años
padre
commit
f08516791e
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1
    3
      src/include/etherboot.h

+ 1
- 3
src/include/etherboot.h Ver fichero

@@ -143,6 +143,7 @@ enum {
143 143
 #include	"tftp.h"
144 144
 #include	"igmp.h"
145 145
 #include	"nfs.h"
146
+#include	"console.h"
146 147
 
147 148
 struct arptable_t {
148 149
 	in_addr ipaddr;
@@ -180,7 +181,6 @@ External prototypes
180 181
 ***************************************************************************/
181 182
 /* main.c */
182 183
 struct Elf_Bhdr;
183
-extern void console_init(void); 
184 184
 extern int main();
185 185
 extern int loadkernel P((const char *fname));
186 186
 extern char as_main_program;
@@ -261,8 +261,6 @@ extern void poll_interruptions P((void));
261 261
 extern int strcasecmp P((const char *a, const char *b));
262 262
 extern char *substr P((const char *a, const char *b));
263 263
 extern unsigned long strtoul P((const char *p, const char **, int base));
264
-extern void printf P((const char *, ...));
265
-extern int sprintf P((char *, const char *, ...));
266 264
 extern int inet_aton P((const char *p, in_addr *i));
267 265
 
268 266
 extern unsigned long get_boot_order(unsigned long order, unsigned *index);

Loading…
Cancelar
Guardar