Hi, I intend to make nvramtool usable in a payload environment. For this, the code needs to be moved around a bit so code using FILE* interfaces (that don't exist in libpayload) doesn't prevent the non-FILE* parts from building. While at it, I also clean up things here and there, whose purpose I can only assume lies in support for ancient compilers.
Some of the patches look huge but consist mainly of files that were moved around.
Patrick