summaryrefslogtreecommitdiffstats
path: root/util/cbfstool/common.h
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@google.com>2014-02-04 17:35:44 -0800
committerRonald G. Minnich <rminnich@gmail.com>2014-02-05 06:50:41 +0100
commit3fcde22a30fc26fa299d4e26a9cc0bde7eb0356d (patch)
tree33a990efdc3ec4dbda3003922620a89e2ed6c280 /util/cbfstool/common.h
parentc625d0983c6427277c3f6ebd9911def76d6351c9 (diff)
downloadcoreboot-3fcde22a30fc26fa299d4e26a9cc0bde7eb0356d.tar.gz
coreboot-3fcde22a30fc26fa299d4e26a9cc0bde7eb0356d.tar.bz2
coreboot-3fcde22a30fc26fa299d4e26a9cc0bde7eb0356d.zip
Add an xdr function for the cbfs_file header
And use it in fit.c and remove one more use of htonl. Change-Id: Ibf18dcc0a7f08d75c2374115de0db7a4bf64ec1e Signed-off-by: Ronald G. Minnich <rminnich@google.com> Reviewed-on: http://review.coreboot.org/5120 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/cbfstool/common.h')
-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 5bcbcbedf8a4..5d3b90004718 100644
--- a/util/cbfstool/common.h
+++ b/util/cbfstool/common.h
@@ -110,5 +110,6 @@ struct xdr {
/* xdr.c */
extern struct xdr xdr_le, xdr_be;
+int bgets(struct buffer *input, void *output, size_t len);
#endif