diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-03 21:00:43 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 11:47:19 -0600 |
commit | fff27f84298c8ae64879e143b068c3b2e6a11ba4 (patch) | |
tree | ea8c19d26a3d39f1ccafc98098d45fae1897ec4c /newlib/libc/locale | |
parent | 670b01da7f04f785df5bed9cd8e22076aa6166d5 (diff) | |
download | newlib-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/locale')
-rw-r--r-- | newlib/libc/locale/locale.c | 2 | ||||
-rw-r--r-- | newlib/libc/locale/localeconv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index f461ef1..7080b05 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -966,7 +966,7 @@ __get_locale_env (struct _reent *p, int category) #endif /* _MB_CAPABLE */ int -_DEFUN_VOID (__locale_mb_cur_max) +__locale_mb_cur_max (void) { #ifdef __HAVE_LOCALE_INFO__ return __get_current_ctype_locale ()->mb_cur_max[0]; diff --git a/newlib/libc/locale/localeconv.c b/newlib/libc/locale/localeconv.c index 165f6f7..b87f604 100644 --- a/newlib/libc/locale/localeconv.c +++ b/newlib/libc/locale/localeconv.c @@ -62,7 +62,7 @@ _DEFUN (_localeconv_r, (data), #ifndef _REENT_ONLY struct lconv * -_DEFUN_VOID (localeconv) +localeconv (void) { return __localeconv_l (__get_current_locale ()); } |