summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/include/cbfs_core.h1
-rw-r--r--payloads/libpayload/libcbfs/cbfs_core.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/payloads/libpayload/include/cbfs_core.h b/payloads/libpayload/include/cbfs_core.h
index fbe0081517..70368f8a7d 100644
--- a/payloads/libpayload/include/cbfs_core.h
+++ b/payloads/libpayload/include/cbfs_core.h
@@ -176,5 +176,6 @@ void *cbfs_find_file(const char *name, int type);
/* returns 0 on success, -1 on failure */
int cbfs_decompress(int algo, void *src, void *dst, int len);
+struct cbfs_header *get_cbfs_header(void);
#endif
diff --git a/payloads/libpayload/libcbfs/cbfs_core.c b/payloads/libpayload/libcbfs/cbfs_core.c
index 52ba58ded7..596fa3ff72 100644
--- a/payloads/libpayload/libcbfs/cbfs_core.c
+++ b/payloads/libpayload/libcbfs/cbfs_core.c
@@ -55,7 +55,7 @@
/* returns pointer to master header or 0xffffffff if not found */
-static struct cbfs_header *get_cbfs_header(void)
+struct cbfs_header *get_cbfs_header(void)
{
struct cbfs_header *header;