From a8f0f5120b69e02eff5337932b92771363d159a5 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 10 May 2011 21:42:52 +0000 Subject: Fix compilation error due to non-unix style line endings in cmos.layout file while generating option_table.h. Windows, Mac and *nix type line endings are now taken care of. Signed-off-by: Patrick Georgi Signed-off-by: Vikram Narayanan Acked-by: Paul Menzel git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6563 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/options/build_opt_tbl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/options/build_opt_tbl.c b/util/options/build_opt_tbl.c index cbba80dcb7..b89bb4f1d5 100644 --- a/util/options/build_opt_tbl.c +++ b/util/options/build_opt_tbl.c @@ -276,6 +276,7 @@ int main(int argc, char **argv) int enum_length; int len; char buf[16]; + char val; for(i=1;ibit,&ce->length,&uc,&ce->config_id,&ce->name[0]); -- cgit v1.2.3