From 3fcde22a30fc26fa299d4e26a9cc0bde7eb0356d Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 4 Feb 2014 17:35:44 -0800 Subject: 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 Reviewed-on: http://review.coreboot.org/5120 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- util/cbfstool/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util/cbfstool/common.h') diff --git a/util/cbfstool/common.h b/util/cbfstool/common.h index 5bcbcbedf8..5d3b900047 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 -- cgit v1.2.3