X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fexports.h;h=1a01e430bbc60cac93c7dd6e4ca05a22364bff86;hb=ed09a554be3ce7974cf61715a286a1b6b547fdbd;hp=205affe72d701d087107b21a818daf974422d8f8;hpb=8e3da9dd113699eed2fa05fcde3c55a2ff410913;p=u-boot 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);