[flashrom] [PATCH] Add const to many function prototypes

Stefan Tauner stefan.tauner at alumni.tuwien.ac.at
Fri May 9 23:16:37 CEST 2014


On Thu, 28 Mar 2013 13:16:10 +0100
Mark Marshall <markmarshall14 at gmail.com> wrote:

> Add 'const' to the data block passed to 'write' functions.
> This is as much for documentation as anything else, but should
> allow the compiler to make a few basic checks for us.
> 
> Signed-off-by: Mark Marshall <mark.marshall at omicron.at>

I don't know what's more embarrassing: that we have not merged this
earlier or that we have not even noticed that the patch was mangled by
your MUA. Anyway, as a fan of strict typing I like the patch and so I
have fixed it, rebased it and eventually committed it in r1789.
Thank you!

To everyone trying to rebase patches that now fail to merge: my
sincere apologies, but you probably have earned it though. :P

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list