]> git.ozlabs.org Git - petitboot/commit
Use static array for parsers
authorGeoff Levand <geoff@infradead.org>
Sat, 17 Mar 2012 05:06:03 +0000 (22:06 -0700)
committerGeoff Levand <geoff@infradead.org>
Sat, 17 Mar 2012 05:16:41 +0000 (22:16 -0700)
commit7c5e552c210b38a06ed9fbb99418b62e20978666
treed8973628338cb604eb3032c7b6d36daca70d8435
parent54f94570b65095c5b9251981956102d3f2864f90
Use static array for parsers

Change the parser structure array implementation from using an
array in a seperate parsers section to a static array of pointers
in parser.c.  Parser priority is now set by the position in the
new parsers array.

Signed-off-by: Geoff Levand <geoff@infradead.org>
discover/kboot-parser.c
discover/native-parser.c
discover/parser-utils.h
discover/parser.c
discover/yaboot-parser.c