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:43:30 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:26 +0300
commit9087163804df8af6dc2ec1f675a2341c25f7795f (patch)
tree86fcb38236347d0e97a16c957e41dca597b8e8a8 /newlib/libc/locale
parent44276afe2a0365d655425702205604640829668d (diff)
ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/locale')
-rw-r--r--newlib/libc/locale/locale.c6
-rw-r--r--newlib/libc/locale/localeconv.c3
2 files changed, 3 insertions, 6 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index 7080b0510..baa5451a6 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -289,8 +289,7 @@ static char *currentlocale (void);
#endif /* _MB_CAPABLE */
char *
-_DEFUN(_setlocale_r, (p, category, locale),
- struct _reent *p,
+_setlocale_r (struct _reent *p,
int category,
const char *locale)
{
@@ -990,8 +989,7 @@ __locale_ctype_ptr (void)
#ifndef _REENT_ONLY
char *
-_DEFUN (setlocale, (category, locale),
- int category,
+setlocale (int category,
const char *locale)
{
return _setlocale_r (_REENT, category, locale);
diff --git a/newlib/libc/locale/localeconv.c b/newlib/libc/locale/localeconv.c
index b87f604a3..5f34a785f 100644
--- a/newlib/libc/locale/localeconv.c
+++ b/newlib/libc/locale/localeconv.c
@@ -51,8 +51,7 @@ __localeconv_l (struct __locale_t *locale)
}
struct lconv *
-_DEFUN (_localeconv_r, (data),
- struct _reent *data)
+_localeconv_r (struct _reent *data)
{
/* Note that we always fall back to the global locale, even in case
of specifying a reent. Otherwise a call to _localeconv_r would just