aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/envlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/envlock.c')
-rw-r--r--newlib/libc/stdlib/envlock.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/envlock.c b/newlib/libc/stdlib/envlock.c
index 3afe30e..bd843af 100644
--- a/newlib/libc/stdlib/envlock.c
+++ b/newlib/libc/stdlib/envlock.c
@@ -36,8 +36,7 @@ __LOCK_INIT_RECURSIVE(static, __env_recursive_mutex);
#endif
void
-__env_lock (ptr)
- struct _reent *ptr;
+__env_lock (struct _reent *ptr)
{
#ifndef __SINGLE_THREAD__
__lock_acquire_recursive (__env_recursive_mutex);
@@ -45,8 +44,7 @@ __env_lock (ptr)
}
void
-__env_unlock (ptr)
- struct _reent *ptr;
+__env_unlock (struct _reent *ptr)
{
#ifndef __SINGLE_THREAD__
__lock_release_recursive (__env_recursive_mutex);