Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-04 06:00:43 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:19 +0300
commitfff27f84298c8ae64879e143b068c3b2e6a11ba4 (patch)
treeea8c19d26a3d39f1ccafc98098d45fae1897ec4c /newlib/libc/locale
parent670b01da7f04f785df5bed9cd8e22076aa6166d5 (diff)
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.c2
-rw-r--r--newlib/libc/locale/localeconv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index f461ef162..7080b0510 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 165f6f7c3..b87f604a3 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 ());
}