From: Patrick Georgi Date: Tue, 10 May 2011 21:42:52 +0000 (+0000) Subject: Fix compilation error due to non-unix style line endings in cmos.layout file while... X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=commitdiff_plain;h=a8f0f5120b69e02eff5337932b92771363d159a5 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 --- diff --git a/util/options/build_opt_tbl.c b/util/options/build_opt_tbl.c index cbba80dcb..b89bb4f1d 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]);