From 7c5e552c210b38a06ed9fbb99418b62e20978666 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Fri, 16 Mar 2012 22:06:03 -0700 Subject: 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 --- discover/kboot-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discover/kboot-parser.c') diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c index 429ae09..025f13b 100644 --- a/discover/kboot-parser.c +++ b/discover/kboot-parser.c @@ -153,4 +153,4 @@ static int kboot_parse(struct discover_context *dc) return rc; } -define_parser(kboot, 98, kboot_parse); +define_parser(kboot, kboot_parse); -- cgit v1.2.1