diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-04 06:00:43 +0300 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 20:47:19 +0300 |
commit | fff27f84298c8ae64879e143b068c3b2e6a11ba4 (patch) | |
tree | ea8c19d26a3d39f1ccafc98098d45fae1897ec4c /newlib/libc/time | |
parent | 670b01da7f04f785df5bed9cd8e22076aa6166d5 (diff) |
ansification: remove _DEFUN_VOID
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/time')
-rw-r--r-- | newlib/libc/time/tzlock.c | 4 | ||||
-rw-r--r-- | newlib/libc/time/tzset.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/time/tzlock.c b/newlib/libc/time/tzlock.c index 24354ad0b..153dfd3a5 100644 --- a/newlib/libc/time/tzlock.c +++ b/newlib/libc/time/tzlock.c @@ -36,7 +36,7 @@ __LOCK_INIT(static, __tz_mutex); #endif _VOID -_DEFUN_VOID (__tz_lock) +__tz_lock (void) { #ifndef __SINGLE_THREAD__ __lock_acquire(__tz_mutex); @@ -44,7 +44,7 @@ _DEFUN_VOID (__tz_lock) } _VOID -_DEFUN_VOID (__tz_unlock) +__tz_unlock (void) { #ifndef __SINGLE_THREAD__ __lock_release(__tz_mutex); diff --git a/newlib/libc/time/tzset.c b/newlib/libc/time/tzset.c index 629b8f240..ca1e1d91f 100644 --- a/newlib/libc/time/tzset.c +++ b/newlib/libc/time/tzset.c @@ -62,13 +62,13 @@ Supporting OS subroutine required: None #include "local.h" _VOID -_DEFUN_VOID (_tzset_unlocked) +_tzset_unlocked (void) { _tzset_unlocked_r (_REENT); } _VOID -_DEFUN_VOID (tzset) +tzset (void) { TZ_LOCK; _tzset_unlocked_r (_REENT); |