Hung-Te Lin (hungte@chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2200
-gerrit
commit d2976c690f629c29009c6277ebc378a34c31372b Author: Hung-Te Lin hungte@chromium.org Date: Mon Jan 28 22:40:10 2013 +0800
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 --- util/cbfstool/cbfs-mkpayload.c | 6 +----- util/cbfstool/cbfs-mkstage.c | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/util/cbfstool/cbfs-mkpayload.c b/util/cbfstool/cbfs-mkpayload.c index ceaee9f..5e69ed5 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 743ea38..ef5182a 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) {