diff options
Diffstat (limited to 'libc/stdio/vfprintf.c')
-rw-r--r-- | libc/stdio/vfprintf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c index 2ce0361ae..9c36b79e0 100644 --- a/libc/stdio/vfprintf.c +++ b/libc/stdio/vfprintf.c @@ -203,9 +203,9 @@ vfprintf(FILE *fp, const char *fmt0, __va_list ap) * below longer. */ #define PADSIZE 16 /* pad chunk size */ - static char blanks[PADSIZE] = + static const char blanks[PADSIZE] = {' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' '}; - static char zeroes[PADSIZE] = + static const char zeroes[PADSIZE] = {'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'}; /* @@ -1219,7 +1219,6 @@ cvt(double value, int ndigits, int flags, char *sign, int *decpt, int ch, { int mode, dsgn; char *digits, *bp, *rve; - static char temp[64]; if (ch == 'f') { mode = 3; /* ndigits after the decimal point */ |