summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/stdlib/__uc_malloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/stdlib/__uc_malloc.c b/libc/stdlib/__uc_malloc.c
index 51878a86b..b96e8c469 100644
--- a/libc/stdlib/__uc_malloc.c
+++ b/libc/stdlib/__uc_malloc.c
@@ -22,6 +22,9 @@ Cambridge, MA 02139, USA.
#include <unistd.h>
#include <malloc.h>
+libc_hidden_proto(__uc_malloc);
+libc_hidden_proto(__uc_malloc_failed);
+
void (*__uc_malloc_failed)(size_t size) = NULL;
/* Seemingly superfluous assigment of NULL above prevents gas error
* ("__uc_malloc_failed can't be equated to common symbol