cbfstool: Remove unused header files.

cbfs-mk*.c does not work with real files / command line so header files with
file I/O and getopt can be removed.

Change-Id: I9d93152982fd4abdc98017c983dd240b81c965f5
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2200
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
Hung-Te Lin 2013-01-28 22:40:10 +08:00 committed by David Hendricks
parent 90b4ce2775
commit 4505cebdad
2 changed files with 2 additions and 10 deletions

View File

@ -22,14 +22,10 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h>
#include "elf.h"
#include <fcntl.h>
#include <getopt.h>
#include <sys/stat.h>
#include "common.h" #include "common.h"
#include "cbfs.h" #include "cbfs.h"
#include "elf.h"
int parse_elf_to_payload(unsigned char *input, unsigned char **output, int parse_elf_to_payload(unsigned char *input, unsigned char **output,
comp_algo algo) comp_algo algo)

View File

@ -23,14 +23,10 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h>
#include "elf.h"
#include <fcntl.h>
#include <getopt.h>
#include <sys/stat.h>
#include "common.h" #include "common.h"
#include "cbfs.h" #include "cbfs.h"
#include "elf.h"
static unsigned int idemp(unsigned int x) static unsigned int idemp(unsigned int x)
{ {