aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/powerpc
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/machine/powerpc
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/machine/powerpc')
-rw-r--r--newlib/libc/machine/powerpc/ufix64toa.c4
-rw-r--r--newlib/libc/machine/powerpc/vfprintf.c22
2 files changed, 13 insertions, 13 deletions
diff --git a/newlib/libc/machine/powerpc/ufix64toa.c b/newlib/libc/machine/powerpc/ufix64toa.c
index 125ab67..bf13894 100644
--- a/newlib/libc/machine/powerpc/ufix64toa.c
+++ b/newlib/libc/machine/powerpc/ufix64toa.c
@@ -15,8 +15,8 @@
#include <reent.h>
#include "fix64.h"
-extern char *_simdldtoa_r _PARAMS((struct _reent *, LONG_DOUBLE_UNION *, int,
- int, int *, int *, char **));
+extern char *_simdldtoa_r (struct _reent *, LONG_DOUBLE_UNION *, int,
+ int, int *, int *, char **);
/*
* Convert an unsigned fixed-point 64-bit value to string.
diff --git a/newlib/libc/machine/powerpc/vfprintf.c b/newlib/libc/machine/powerpc/vfprintf.c
index e926a73..1615d4b 100644
--- a/newlib/libc/machine/powerpc/vfprintf.c
+++ b/newlib/libc/machine/powerpc/vfprintf.c
@@ -223,16 +223,16 @@ __sbprintf_r(rptr, fp, fmt, ap)
#define DEFPREC 6
#ifdef _NO_LONGDBL
-static char *cvt _PARAMS((struct _reent *, double, int, int, char *, int *, int, int *));
+static char *cvt (struct _reent *, double, int, int, char *, int *, int, int *);
#else
-static char *cvt _PARAMS((struct _reent *, _LONG_DOUBLE, int, int, char *, int *, int, int *));
-extern int _ldcheck _PARAMS((_LONG_DOUBLE *));
+static char *cvt (struct _reent *, _LONG_DOUBLE, int, int, char *, int *, int, int *);
+extern int _ldcheck (_LONG_DOUBLE *);
#endif
-static int exponent _PARAMS((char *, int, int));
+static int exponent (char *, int, int);
#ifdef __SPE__
-static char *cvt_ufix64 _PARAMS((struct _reent *, unsigned long long, int, int *, int *));
+static char *cvt_ufix64 (struct _reent *, unsigned long long, int, int *, int *);
#endif /* __SPE__ */
#else /* no FLOATING_POINT */
@@ -1247,11 +1247,11 @@ error:
#ifdef FLOATING_POINT
#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 **);
#else
-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 **);
#undef word0
#define word0(x) ldword0(x)
#endif
@@ -1358,8 +1358,8 @@ exponent(p0, exp, fmtch)
#endif /* FLOATING_POINT */
#ifdef __SPE__
-extern char *_ufix64toa_r _PARAMS((struct _reent *, unsigned long long, int,
- int, int *, int *, char **));
+extern char *_ufix64toa_r (struct _reent *, unsigned long long, int,
+ int, int *, int *, char **);
static char *
cvt_ufix64 (data, value, ndigits, decpt, length)
struct _reent *data;