summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-08-26 12:40:28 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-08-26 12:40:28 +0200
commit5a24d88fbb6ff820ac0d0ccd316efe02ef268c9d (patch)
tree5ccf5be3884fad92871af06a7a20b5f975d01b20
parentfa2ee53058b5102b7d3922a057e6d6b85ca830ff (diff)
_uintmaxtostr: fix indentation (spaces->tabs), no code changes
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-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;
}