[coreboot] Patch set updated for coreboot: 42d1118 cbfstool: Remove unused header files.

Hung-Te Lin (hungte@chromium.org) gerrit at coreboot.org
Tue Jan 29 02:55:21 CET 2013


Hung-Te Lin (hungte at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2200

-gerrit

commit 42d1118d8a127b280f6d890a75544419e7bab6ed
Author: Hung-Te Lin <hungte at 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 at 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 0d3986e..7f01024 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 0541d4b..b54af10 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)
 {



More information about the coreboot mailing list