From 5a24d88fbb6ff820ac0d0ccd316efe02ef268c9d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 26 Aug 2010 12:40:28 +0200 Subject: _uintmaxtostr: fix indentation (spaces->tabs), no code changes Signed-off-by: Denys Vlasenko --- libc/stdio/_uintmaxtostr.c | 20 ++++++++++---------- 1 file 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; } -- cgit v1.2.3