]> git.ozlabs.org Git - petitboot/blobdiff - devices/yaboot-cfg.c
yaboot parser: fix cfg_getc inline
[petitboot] / devices / yaboot-cfg.c
index a252bdbc96ec65698a713baaaa3635f030b689fe..6b007e4e176f4e7d6e244ec600f26a68593de636 100644 (file)
@@ -25,7 +25,6 @@
 #include <string.h>
 #include <stdint.h>
 #include <stdio.h>
-#include <libio.h>
 
 #define prom_printf printf
 #define prom_putchar putchar
@@ -136,7 +135,7 @@ void cfg_warn (char *msg,...)
      prom_printf (" near line %d in file %s\n", line_num, file_name);
 }
 
-inline int cfg_getc ()
+int cfg_getc ()
 {
      if (currp == endp)
          return EOF;