summaryrefslogtreecommitdiff
path: root/libc/stdio-common/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio-common/vfprintf.c')
-rw-r--r--libc/stdio-common/vfprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/stdio-common/vfprintf.c b/libc/stdio-common/vfprintf.c
index 9fcfc9ba5..55632e493 100644
--- a/libc/stdio-common/vfprintf.c
+++ b/libc/stdio-common/vfprintf.c
@@ -160,7 +160,7 @@
#define outchar(Ch) \
do \
{ \
- register const INT_T outc = (Ch); \
+ const INT_T outc = (Ch); \
if (PUTC (outc, s) == EOF || done == INT_MAX) \
{ \
done = -1; \
@@ -2083,7 +2083,7 @@ printf_unknown (FILE *s, const struct printf_info *info,
CHAR_T work_buffer[MAX (sizeof (info->width), sizeof (info->prec)) * 3];
CHAR_T *const workend
= &work_buffer[sizeof (work_buffer) / sizeof (CHAR_T)];
- register CHAR_T *w;
+ CHAR_T *w;
outchar (L_('%'));
@@ -2289,12 +2289,12 @@ static const struct _IO_jump_t _IO_helper_jumps =
static int
internal_function
-buffered_vfprintf (register _IO_FILE *s, const CHAR_T *format,
+buffered_vfprintf (_IO_FILE *s, const CHAR_T *format,
_IO_va_list args)
{
CHAR_T buf[_IO_BUFSIZ];
struct helper_file helper;
- register _IO_FILE *hp = (_IO_FILE *) &helper._f;
+ _IO_FILE *hp = (_IO_FILE *) &helper._f;
int result, to_flush;
/* Orient the stream. */