summaryrefslogtreecommitdiff
path: root/util/cbfstool
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2012-07-17 21:11:59 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-07-18 00:15:27 +0200
commit5c581c4d6c2c32bcfe67acaafd9aa513a8cad328 (patch)
tree27c3f5b7e7429540767d22658cb6819cf4cf6542 /util/cbfstool
parentd2567c8d92cb2c816dc9e8078740aad93d14dc32 (diff)
downloadcoreboot-5c581c4d6c2c32bcfe67acaafd9aa513a8cad328.tar.xz
cbfstool: provide a prototype for remove_file_from_cbfs
To complement commit e1bb49e (Add a "remove" command to cbfstool) and fix a compiler warning provide a prototype for remove_file_from_cbfs. Change-Id: Ied8eac956de5fed3f9d82ce1e911ee1fec52db15 Signed-off-by: Mathias Krause <minipli@googlemail.com> Reviewed-on: http://review.coreboot.org/1235 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'util/cbfstool')
-rw-r--r--util/cbfstool/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cbfstool/common.h b/util/cbfstool/common.h
index 7034e0c1cf..296ab2dd05 100644
--- a/util/cbfstool/common.h
+++ b/util/cbfstool/common.h
@@ -69,6 +69,7 @@ int create_cbfs_image(const char *romfile, uint32_t romsize,
int add_file_to_cbfs(void *content, uint32_t contentsize, uint32_t location);
void print_cbfs_directory(const char *filename);
int extract_file_from_cbfs(const char *filename, const char *payloadname, const char *outpath);
+int remove_file_from_cbfs(const char *filename);
uint32_t cbfs_find_location(const char *romfile, uint32_t filesize,
const char *filename, uint32_t align);