patch-second_cfg_c 526 B

1234567891011121314151617181920
  1. --- yaboot-1.3.17.orig/second/cfg.c 2011-10-18 06:11:10.000000000 +0200
  2. +++ yaboot-1.3.17/second/cfg.c 2018-06-08 23:24:14.000000000 +0200
  3. @@ -132,7 +132,7 @@ void cfg_warn (char *msg,...)
  4. prom_printf (" near line %d in file %s\n", line_num, file_name);
  5. }
  6. -inline int getc ()
  7. +static inline int __getc ()
  8. {
  9. if (currp == endp)
  10. return EOF;
  11. @@ -145,7 +145,7 @@ static int next (void)
  12. int ch;
  13. if (!back)
  14. - return getc ();
  15. + return __getc ();
  16. ch = back;
  17. back = 0;
  18. return ch;