[PATCH] second/cfg.c compilation error
Paulo Ricardo Paz Vital
vital at br.ibm.com
Tue Mar 6 05:49:26 EST 2007
Hi everyone,
When compiling the most update yaboot 1.3.14rc1, I found an error
reporting a duplicated function.
Here is the patch to solve this error.
See you.
Paulo Vital
---
diff --git a/second/cfg.c b/second/cfg.c
index 3d08243..4167582 100644
--- a/second/cfg.c
+++ b/second/cfg.c
@@ -443,16 +443,6 @@ int cfg_parse (char *cfg_file, char *buff, int len)
}
}
-static char *cfg_get_strg_i (CONFIG * table, char *item)
-{
- CONFIG *walk;
-
- for (walk = table; walk->type != cft_end; walk++)
- if (walk->name && !strcasecmp (walk->name, item))
- return walk->data;
- return 0;
-}
-
char *cfg_get_strg (char *image, char *item)
{
struct IMAGES *p;
More information about the Yaboot-devel
mailing list