secimage: reformat

Change-Id: Ibfa8b6b60b2b39212cef27bb2a5f8849218164bb
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/11133
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Stefan Reinauer
2015-08-06 16:55:09 -07:00
committed by Patrick Georgi
parent 133108af25
commit 9dd8f88841
5 changed files with 48 additions and 82 deletions

View File

@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
#include <stdio.h>
#include <string.h>
#include "secimage.h"
@ -39,7 +38,6 @@ int ReadBinaryFile(char *fname, uint8_t *buf, int maxlen)
return len;
}
/*----------------------------------------------------------------------
* Name : FileSizeGet
* Purpose : Return the size of the file
@ -56,7 +54,6 @@ size_t FileSizeGet(FILE *file)
return (size_t)length;
}
/*----------------------------------------------------------------------
* Name : DataRead
* Purpose : Read all the data from a file
@ -90,7 +87,6 @@ int DataRead(char *filename, uint8_t *buf, int *length)
return 0;
}
/*----------------------------------------------------------------------
* Name : DataWrite
* Purpose : Write some binary data to a file