summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2013-01-28 22:40:10 +0800
committerDavid Hendricks <dhendrix@chromium.org>2013-01-29 04:14:43 +0100
commit4505cebdad4637762ae1ae10dcb43eb4f2b3784f (patch)
tree2624a14b3da3cc5742c9833ec1f139330280cd0e /util
parent90b4ce27759c2cd63586481d2bafeeac61e5ab70 (diff)
downloadcoreboot-4505cebdad4637762ae1ae10dcb43eb4f2b3784f.tar.xz
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>
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/cbfs-mkpayload.c6
-rw-r--r--util/cbfstool/cbfs-mkstage.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/util/cbfstool/cbfs-mkpayload.c b/util/cbfstool/cbfs-mkpayload.c
index 0d3986e429..7f01024bae 100644
--- a/util/cbfstool/cbfs-mkpayload.c
+++ b/util/cbfstool/cbfs-mkpayload.c
@@ -22,14 +22,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
-#include "elf.h"
-#include <fcntl.h>
-#include <getopt.h>
-#include <sys/stat.h>
#include "common.h"
#include "cbfs.h"
+#include "elf.h"
int parse_elf_to_payload(unsigned char *input, unsigned char **output,
comp_algo algo)
diff --git a/util/cbfstool/cbfs-mkstage.c b/util/cbfstool/cbfs-mkstage.c
index 0541d4b48e..b54af1013f 100644
--- a/util/cbfstool/cbfs-mkstage.c
+++ b/util/cbfstool/cbfs-mkstage.c
@@ -23,14 +23,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
-#include "elf.h"
-#include <fcntl.h>
-#include <getopt.h>
-#include <sys/stat.h>
#include "common.h"
#include "cbfs.h"
+#include "elf.h"
static unsigned int idemp(unsigned int x)
{