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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/mlock.c b/newlib/libc/stdlib/mlock.c
index 23aa101..e5ac131 100644
--- a/newlib/libc/stdlib/mlock.c
+++ b/newlib/libc/stdlib/mlock.c
@@ -37,8 +37,7 @@ __LOCK_INIT_RECURSIVE(static, __malloc_recursive_mutex);
#endif
void
-__malloc_lock (ptr)
- struct _reent *ptr;
+__malloc_lock (struct _reent *ptr)
{
#ifndef __SINGLE_THREAD__
__lock_acquire_recursive (__malloc_recursive_mutex);
@@ -46,8 +45,7 @@ __malloc_lock (ptr)
}
void
-__malloc_unlock (ptr)
- struct _reent *ptr;
+__malloc_unlock (struct _reent *ptr)
{
#ifndef __SINGLE_THREAD__
__lock_release_recursive (__malloc_recursive_mutex);