aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/mlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/mlock.c')
-rw-r--r--newlib/libc/stdlib/mlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/mlock.c b/newlib/libc/stdlib/mlock.c
index 485d0d5..c603fbc 100644
--- a/newlib/libc/stdlib/mlock.c
+++ b/newlib/libc/stdlib/mlock.c
@@ -1,3 +1,4 @@
+#ifndef MALLOC_PROVIDED
/*
FUNCTION
<<__malloc_lock>>, <<__malloc_unlock>>--lock malloc pool
@@ -48,3 +49,4 @@ __malloc_unlock (ptr)
struct _reent *ptr;
{
}
+#endif