summaryrefslogtreecommitdiffstats
path: root/include/exports.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/exports.h')
-rw-r--r--include/exports.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/exports.h b/include/exports.h
index 205affe72d..1a01e430bb 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -15,7 +15,9 @@ int printf(const char* fmt, ...);
void install_hdlr(int, interrupt_handler_t, void*);
void free_hdlr(int);
void *malloc(size_t);
+#ifndef CONFIG_SYS_MALLOC_SIMPLE
void free(void*);
+#endif
void __udelay(unsigned long);
unsigned long get_timer(unsigned long);
int vprintf(const char *, va_list);
OpenPOWER on IntegriCloud