aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/findfp.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 21:00:43 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:19 -0600
commitfff27f84298c8ae64879e143b068c3b2e6a11ba4 (patch)
treeea8c19d26a3d39f1ccafc98098d45fae1897ec4c /newlib/libc/stdio/findfp.c
parent670b01da7f04f785df5bed9cd8e22076aa6166d5 (diff)
downloadnewlib-fff27f84298c8ae64879e143b068c3b2e6a11ba4.zip
newlib-fff27f84298c8ae64879e143b068c3b2e6a11ba4.tar.gz
newlib-fff27f84298c8ae64879e143b068c3b2e6a11ba4.tar.bz2
ansification: remove _DEFUN_VOID
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/stdio/findfp.c')
-rw-r--r--newlib/libc/stdio/findfp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/newlib/libc/stdio/findfp.c b/newlib/libc/stdio/findfp.c
index a7ea76b..fb43751 100644
--- a/newlib/libc/stdio/findfp.c
+++ b/newlib/libc/stdio/findfp.c
@@ -235,7 +235,7 @@ _DEFUN(_cleanup_r, (ptr),
#ifndef _REENT_ONLY
_VOID
-_DEFUN_VOID(_cleanup)
+_cleanup (void)
{
_cleanup_r (_GLOBAL_REENT);
}
@@ -304,25 +304,25 @@ __LOCK_INIT_RECURSIVE(static, __sfp_recursive_mutex);
__LOCK_INIT_RECURSIVE(static, __sinit_recursive_mutex);
_VOID
-_DEFUN_VOID(__sfp_lock_acquire)
+__sfp_lock_acquire (void)
{
__lock_acquire_recursive (__sfp_recursive_mutex);
}
_VOID
-_DEFUN_VOID(__sfp_lock_release)
+__sfp_lock_release (void)
{
__lock_release_recursive (__sfp_recursive_mutex);
}
_VOID
-_DEFUN_VOID(__sinit_lock_acquire)
+__sinit_lock_acquire (void)
{
__lock_acquire_recursive (__sinit_recursive_mutex);
}
_VOID
-_DEFUN_VOID(__sinit_lock_release)
+__sinit_lock_release (void)
{
__lock_release_recursive (__sinit_recursive_mutex);
}
@@ -350,7 +350,7 @@ _DEFUN(__fp_unlock, (ptr),
}
_VOID
-_DEFUN_VOID(__fp_lock_all)
+__fp_lock_all (void)
{
__sfp_lock_acquire ();
@@ -358,7 +358,7 @@ _DEFUN_VOID(__fp_lock_all)
}
_VOID
-_DEFUN_VOID(__fp_unlock_all)
+__fp_unlock_all (void)
{
(void) _fwalk (_REENT, __fp_unlock);