X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Fcfg.c;h=381d16b349175927e945608884d8d9fa8d865d5e;hp=fe3f1e1b40d8c78ed4d8d396d42792582ff63904;hb=6f27cd4ad3feeba79cac882ef3f7177224a5935b;hpb=313f71b25817a54832ac2ab46efcee2f5ab30331 diff --git a/second/cfg.c b/second/cfg.c index fe3f1e1..381d16b 100644 --- a/second/cfg.c +++ b/second/cfg.c @@ -41,8 +41,7 @@ typedef struct { void *data; } CONFIG; -#define MAX_TOKEN 200 -#define MAX_VAR_NAME MAX_TOKEN +#define MAX_TOKEN 511 #define EOF -1 CONFIG cf_options[] = @@ -92,7 +91,6 @@ CONFIG cf_image[] = {cft_flag, "pause-after", NULL}, {cft_strg, "pause-message", NULL}, {cft_flag, "novideo", NULL}, - {cft_strg, "sysmap", NULL}, {cft_end, NULL, NULL}}; static char flag_set; @@ -103,7 +101,6 @@ static char *currp = NULL; static char *endp = NULL; static char *file_name = NULL; static CONFIG *curr_table = cf_options; -static int ignore_entry; static jmp_buf env; static struct IMAGES {