summaryrefslogtreecommitdiff
path: root/include/malloc.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-27 22:06:36 -0700
committerSimon Glass <sjg@chromium.org>2015-04-23 09:05:53 -0600
commitfb5cf7f16be725aec7ab0016268b3b4e26460bee (patch)
tree755959683c0f163b7911e57d059fe467f585ab9a /include/malloc.h
parent0879361fd3bc33eb52bcfb2574a78f1e52a36429 (diff)
Move initf_malloc() to a common place
To allow this function to be used from SPL, move it to the malloc() code. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index 5df634873f1..f4da9e6dddb 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -906,6 +906,9 @@ void *realloc_simple(void *ptr, size_t size);
#endif
+/* Set up pre-relocation malloc() ready for use */
+int initf_malloc(void);
+
/* Public routines */
/* Simple versions which can be used when space is tight */