summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/cbfs_core.h1
-rw-r--r--src/lib/cbfs_core.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/cbfs_core.h b/src/include/cbfs_core.h
index fbe0081517..70368f8a7d 100644
--- a/src/include/cbfs_core.h
+++ b/src/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/src/lib/cbfs_core.c b/src/lib/cbfs_core.c
index 52ba58ded7..596fa3ff72 100644
--- a/src/lib/cbfs_core.c
+++ b/src/lib/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;