aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/nano-vfprintf.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 20:25:16 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:08 -0600
commit0bda30e1ffd23488aa4a9b73f228089463fbee1a (patch)
treeb0efb851be762c4d530cc259070005318702321d /newlib/libc/stdio/nano-vfprintf.c
parent6783860a2e4e4183c073f62e4bb938cea0e096c3 (diff)
downloadnewlib-0bda30e1ffd23488aa4a9b73f228089463fbee1a.zip
newlib-0bda30e1ffd23488aa4a9b73f228089463fbee1a.tar.gz
newlib-0bda30e1ffd23488aa4a9b73f228089463fbee1a.tar.bz2
ansification: remove _CONST
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/stdio/nano-vfprintf.c')
-rw-r--r--newlib/libc/stdio/nano-vfprintf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/newlib/libc/stdio/nano-vfprintf.c b/newlib/libc/stdio/nano-vfprintf.c
index f01e6a4..df20783 100644
--- a/newlib/libc/stdio/nano-vfprintf.c
+++ b/newlib/libc/stdio/nano-vfprintf.c
@@ -185,7 +185,7 @@ int
_DEFUN(__ssputs_r, (ptr, fp, buf, len),
struct _reent *ptr,
FILE *fp,
- _CONST char *buf,
+ const char *buf,
size_t len)
{
register int w;
@@ -261,7 +261,7 @@ _DEFUN(__ssprint_r, (ptr, fp, uio),
register size_t len;
register int w;
register struct __siov *iov;
- register _CONST char *p = NULL;
+ register const char *p = NULL;
iov = uio->uio_iov;
len = 0;
@@ -417,7 +417,7 @@ int
_DEFUN(__sfputs_r, (ptr, fp, buf, len),
struct _reent *ptr,
FILE *fp,
- _CONST char *buf,
+ const char *buf,
size_t len)
{
register int i;
@@ -448,13 +448,13 @@ _DEFUN(__sfputs_r, (ptr, fp, buf, len),
}
#endif /* STRING_ONLY. */
-int _EXFUN(_VFPRINTF_R, (struct _reent *, FILE *, _CONST char *, va_list));
+int _EXFUN(_VFPRINTF_R, (struct _reent *, FILE *, const char *, va_list));
#ifndef STRING_ONLY
int
_DEFUN(VFPRINTF, (fp, fmt0, ap),
FILE * fp,
- _CONST char *fmt0,
+ const char *fmt0,
va_list ap)
{
int result;
@@ -484,7 +484,7 @@ int
_DEFUN(_VFPRINTF_R, (data, fp, fmt0, ap),
struct _reent *data,
FILE * fp,
- _CONST char *fmt0,
+ const char *fmt0,
va_list ap)
{
register char *fmt; /* Format string. */
@@ -494,7 +494,7 @@ _DEFUN(_VFPRINTF_R, (data, fp, fmt0, ap),
struct _prt_data_t prt_data; /* All data for decoding format string. */
/* Output function pointer. */
- int (*pfunc)(struct _reent *, FILE *, _CONST char *, size_t len);
+ int (*pfunc)(struct _reent *, FILE *, const char *, size_t len);
pfunc = __SPRINT;