projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e71540
)
yaboot parser: fix cfg_getc inline
author
Jeremy Kerr
<jk@ozlabs.org>
Sun, 7 Dec 2008 05:45:46 +0000
(16:45 +1100)
committer
Jeremy Kerr
<jk@ozlabs.org>
Sun, 7 Dec 2008 06:43:41 +0000
(17:43 +1100)
Current build fails with:
petitboot/devices/yaboot-cfg.c:151: undefined reference to `cfg_getc'
As it it maked inline. This change un-inlines this function.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
devices/yaboot-cfg.c
patch
|
blob
|
history
diff --git
a/devices/yaboot-cfg.c
b/devices/yaboot-cfg.c
index 57a69976b621284f532edfa11ebf70d11cd3af49..6b007e4e176f4e7d6e244ec600f26a68593de636 100644
(file)
--- a/
devices/yaboot-cfg.c
+++ b/
devices/yaboot-cfg.c
@@
-135,7
+135,7
@@
void cfg_warn (char *msg,...)
prom_printf (" near line %d in file %s\n", line_num, file_name);
}
-in
line in
t cfg_getc ()
+int cfg_getc ()
{
if (currp == endp)
return EOF;