summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/stdio/_uintmaxtostr.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libc/stdio/_uintmaxtostr.c b/libc/stdio/_uintmaxtostr.c
index 4be2c462f..e501165a9 100644
--- a/libc/stdio/_uintmaxtostr.c
+++ b/libc/stdio/_uintmaxtostr.c
@@ -21,8 +21,8 @@
char attribute_hidden *_uintmaxtostr(register char * __restrict bufend, uintmax_t uval,
int base, __UIM_CASE alphacase)
{
- int negative;
- unsigned int digit;
+ int negative;
+ unsigned int digit;
#ifdef INTERNAL_DIV_MOD
unsigned int H, L, high, low, rh;
#endif
@@ -55,10 +55,10 @@ char attribute_hidden *_uintmaxtostr(register char * __restrict bufend, uintmax_
}
#endif /* __LOCALE_C_ONLY */
- *bufend = '\0';
+ *bufend = '\0';
#ifndef INTERNAL_DIV_MOD
- do {
+ do {
#ifndef __LOCALE_C_ONLY
if (!grouping) { /* Finished a group. */
bufend -= __UCLIBC_CURLOCALE->thousands_sep_len;
@@ -88,7 +88,7 @@ char attribute_hidden *_uintmaxtostr(register char * __restrict bufend, uintmax_
{
*--bufend = ( (digit < 10) ? digit + '0' : digit + alphacase );
}
- } while (uval);
+ } while (uval);
#else /* ************************************************** */
@@ -101,7 +101,7 @@ char attribute_hidden *_uintmaxtostr(register char * __restrict bufend, uintmax_
low = (unsigned int) uval;
high = (unsigned int) (uval >> (sizeof(unsigned int) * CHAR_BIT));
- do {
+ do {
#ifndef __LOCALE_C_ONLY
if (!grouping) { /* Finished a group. */
bufend -= __UCLIBC_CURLOCALE->thousands_sep_len;
@@ -140,13 +140,13 @@ char attribute_hidden *_uintmaxtostr(register char * __restrict bufend, uintmax_
{
*--bufend = ( (digit < 10) ? digit + '0' : digit + alphacase );
}
- } while (low | high);
+ } while (low | high);
#endif /******************************************************/
- if (negative) {
+ if (negative) {
*--bufend = '-';
- }
+ }
- return bufend;
+ return bufend;
}