From 5c581c4d6c2c32bcfe67acaafd9aa513a8cad328 Mon Sep 17 00:00:00 2001 From: Mathias Krause Date: Tue, 17 Jul 2012 21:11:59 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/1235 Reviewed-by: Stefan Reinauer Tested-by: build bot (Jenkins) --- util/cbfstool/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util/cbfstool') 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); -- cgit v1.2.3