aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 20:41:16 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:13 -0600
commiteea249da3bc81776246ad5163f5eb887afdd3659 (patch)
tree610f12206d520381c1ef4370720522f304bed2c8 /newlib/libc/stdio
parente13e191b6052a62701d8fb22c3660df23d3b6ec1 (diff)
downloadnewlib-eea249da3bc81776246ad5163f5eb887afdd3659.zip
newlib-eea249da3bc81776246ad5163f5eb887afdd3659.tar.gz
newlib-eea249da3bc81776246ad5163f5eb887afdd3659.tar.bz2
ansification: remove _PARAMS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/stdio')
-rw-r--r--newlib/libc/stdio/nano-vfprintf_local.h4
-rw-r--r--newlib/libc/stdio/nano-vfscanf_i.c2
-rw-r--r--newlib/libc/stdio/vfprintf.c8
-rw-r--r--newlib/libc/stdio/vfscanf.c2
-rw-r--r--newlib/libc/stdio/vfwprintf.c8
-rw-r--r--newlib/libc/stdio/vfwscanf.c6
6 files changed, 15 insertions, 15 deletions
diff --git a/newlib/libc/stdio/nano-vfprintf_local.h b/newlib/libc/stdio/nano-vfprintf_local.h
index 51e1df8..f883741 100644
--- a/newlib/libc/stdio/nano-vfprintf_local.h
+++ b/newlib/libc/stdio/nano-vfprintf_local.h
@@ -88,8 +88,8 @@
# define MAXEXPLEN 7
# define DEFPREC 6
-extern char *_dtoa_r _PARAMS((struct _reent *, double, int,
- int, int *, int *, char **));
+extern char *_dtoa_r (struct _reent *, double, int,
+ int, int *, int *, char **);
# define _DTOA_R _dtoa_r
# define FREXP frexp
diff --git a/newlib/libc/stdio/nano-vfscanf_i.c b/newlib/libc/stdio/nano-vfscanf_i.c
index aba74b0..fc80117 100644
--- a/newlib/libc/stdio/nano-vfscanf_i.c
+++ b/newlib/libc/stdio/nano-vfscanf_i.c
@@ -95,7 +95,7 @@ _scanf_i (struct _reent *rptr,
struct _scan_data_t *pdata,
FILE *fp, va_list *ap)
{
-#define CCFN_PARAMS _PARAMS((struct _reent *, const char *, char **, int))
+#define CCFN_PARAMS (struct _reent *, const char *, char **, int)
/* Conversion function (strtol/strtoul). */
u_long (*ccfn)CCFN_PARAMS=0;
char *p;
diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c
index 6413f6b..674322b 100644
--- a/newlib/libc/stdio/vfprintf.c
+++ b/newlib/libc/stdio/vfprintf.c
@@ -510,8 +510,8 @@ _DEFUN(__sbprintf, (rptr, fp, fmt, ap),
# ifdef _NO_LONGDBL
-extern char *_dtoa_r _PARAMS((struct _reent *, double, int,
- int, int *, int *, char **));
+extern char *_dtoa_r (struct _reent *, double, int,
+ int, int *, int *, char **);
# define _PRINTF_FLOAT_TYPE double
# define _DTOA_R _dtoa_r
@@ -519,8 +519,8 @@ extern char *_dtoa_r _PARAMS((struct _reent *, double, int,
# else /* !_NO_LONGDBL */
-extern char *_ldtoa_r _PARAMS((struct _reent *, _LONG_DOUBLE, int,
- int, int *, int *, char **));
+extern char *_ldtoa_r (struct _reent *, _LONG_DOUBLE, int,
+ int, int *, int *, char **);
extern int _EXFUN(_ldcheck,(_LONG_DOUBLE *));
diff --git a/newlib/libc/stdio/vfscanf.c b/newlib/libc/stdio/vfscanf.c
index bf91dad..38ef36e 100644
--- a/newlib/libc/stdio/vfscanf.c
+++ b/newlib/libc/stdio/vfscanf.c
@@ -554,7 +554,7 @@ _DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
while (0)
#endif
- #define CCFN_PARAMS _PARAMS((struct _reent *, const char *, char **, int))
+ #define CCFN_PARAMS (struct _reent *, const char *, char **, int)
u_long (*ccfn)CCFN_PARAMS=0; /* conversion function (strtol/strtoul) */
char ccltab[256]; /* character class table for %[...] */
char buf[BUF]; /* buffer for numeric conversions */
diff --git a/newlib/libc/stdio/vfwprintf.c b/newlib/libc/stdio/vfwprintf.c
index ad684a2..1054eb9 100644
--- a/newlib/libc/stdio/vfwprintf.c
+++ b/newlib/libc/stdio/vfwprintf.c
@@ -228,8 +228,8 @@ _DEFUN(__sbwprintf, (rptr, fp, fmt, ap),
# ifdef _NO_LONGDBL
-extern char *_dtoa_r _PARAMS((struct _reent *, double, int,
- int, int *, int *, char **));
+extern char *_dtoa_r (struct _reent *, double, int,
+ int, int *, int *, char **);
# define _PRINTF_FLOAT_TYPE double
# define _DTOA_R _dtoa_r
@@ -237,8 +237,8 @@ extern char *_dtoa_r _PARAMS((struct _reent *, double, int,
# else /* !_NO_LONGDBL */
-extern char *_ldtoa_r _PARAMS((struct _reent *, _LONG_DOUBLE, int,
- int, int *, int *, char **));
+extern char *_ldtoa_r (struct _reent *, _LONG_DOUBLE, int,
+ int, int *, int *, char **);
extern int _EXFUN(_ldcheck,(_LONG_DOUBLE *));
diff --git a/newlib/libc/stdio/vfwscanf.c b/newlib/libc/stdio/vfwscanf.c
index 27b0623..73d8f32 100644
--- a/newlib/libc/stdio/vfwscanf.c
+++ b/newlib/libc/stdio/vfwscanf.c
@@ -138,7 +138,7 @@ C99, POSIX-1.2008
#define _NO_LONGDBL
#if defined _WANT_IO_LONG_DOUBLE && (LDBL_MANT_DIG > DBL_MANT_DIG)
#undef _NO_LONGDBL
-extern _LONG_DOUBLE _wcstold_r _PARAMS((wchar_t *s, wchar_t **sptr));
+extern _LONG_DOUBLE _wcstold_r (wchar_t *s, wchar_t **sptr);
#endif
#include "floatio.h"
@@ -322,7 +322,7 @@ _DEFUN(_sungetwc_r, (data, fp, ch),
return wc;
}
-extern int __ssrefill_r _PARAMS ((struct _reent *ptr, register FILE * fp));
+extern int __ssrefill_r (struct _reent *ptr, register FILE * fp);
static size_t
_DEFUN(_sfgetwc_r, (ptr, fp),
@@ -367,7 +367,7 @@ _DEFUN(__SVFWSCANF_R, (rptr, fp, fmt0, ap),
mbstate_t mbs; /* value to keep track of multibyte state */
- #define CCFN_PARAMS _PARAMS((struct _reent *, const wchar_t *, wchar_t **, int))
+ #define CCFN_PARAMS (struct _reent *, const wchar_t *, wchar_t **, int)
unsigned long (*ccfn)CCFN_PARAMS=0; /* conversion function (wcstol/wcstoul) */
wchar_t buf[BUF]; /* buffer for numeric conversions */
const wchar_t *ccls; /* character class start */