Since cbfstool is so simple right now, it makes sense to have -Werr in CFLAGS so that we are more careful with the code. It will be a bigger pain later.
I didn't want to touch lzma so the tools directory has its own CFLAGS now.
I chose to make all sizes int. They could have been unsigned int. If anyone really cares we can change it. It just needs to be consistent.
I cleaned up some of the parameters (usage and checking.) There's no need to have an empty add call, etc.
Signed-off-by: Myles Watson mylesgw@gmail.com
Thanks, Myles
Looks good. My commit may have broken your patch. Otherwise:
Acked-by: Ronald G. Minnich rminnich@gmail.com
-----Original Message----- From: ron minnich [mailto:rminnich@gmail.com] Sent: Friday, May 08, 2009 1:27 PM To: Myles Watson Cc: coreboot Subject: Re: [coreboot] cbfstool warnings
Looks good. My commit may have broken your patch.
Deleting functions also removes warnings :)
Otherwise:
Acked-by: Ronald G. Minnich rminnich@gmail.com
Rev 4262.
Thanks, Myles