diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2015-08-25 22:26:02 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-08-27 15:01:39 +0000 |
commit | a60e7b6da533c119cae0b83207222f7b94f40539 (patch) | |
tree | 92ab33a9a8057b7a3cca6c54579b2587a698898b /util/cbfstool/cbfs_image.h | |
parent | dc9dbc0059af620efa919ac3e0d3b92abd50e658 (diff) | |
download | coreboot-a60e7b6da533c119cae0b83207222f7b94f40539.tar.xz |
cbfstool: use struct cbfs_file * instead of void *
My concern was that compilers may something stupid under the assumption
of a fixed struct size, but filename is already variable, so things are
okay.
Change-Id: I5348faf68f0a7993294e9de4c0b6c737278b28af
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11331
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/cbfstool/cbfs_image.h')
-rw-r--r-- | util/cbfstool/cbfs_image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfs_image.h b/util/cbfstool/cbfs_image.h index 02c4a2d0cc..c1983e7757 100644 --- a/util/cbfstool/cbfs_image.h +++ b/util/cbfstool/cbfs_image.h @@ -94,7 +94,7 @@ int cbfs_export_entry(struct cbfs_image *image, const char *entry_name, * Returns 0 on success, otherwise non-zero. */ int cbfs_add_entry(struct cbfs_image *image, struct buffer *buffer, uint32_t content_offset, - void *header, uint32_t header_size); + struct cbfs_file *header, uint32_t header_size); /* Removes an entry from CBFS image. Returns 0 on success, otherwise non-zero. */ int cbfs_remove_entry(struct cbfs_image *image, const char *name); |