From 4a2724d93bcd8626f2cebead9b263b4f9f86541d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 21 Jul 2009 20:09:13 +0200 Subject: s/UCLIBC_INTERNAL/_LIBC/g Undo my old mistake. I added UCLIBC_INTERNAL define, but later I realized _LIBC is doing exactly the same thing. This change converts all usages of UCLIBC_INTERNAL to _LIBC, removing all instances of UCLIBC_INTERNAL. Signed-off-by: Denys Vlasenko --- include/printf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/printf.h') diff --git a/include/printf.h b/include/printf.h index 72dffaab4..685e31e1f 100644 --- a/include/printf.h +++ b/include/printf.h @@ -41,7 +41,7 @@ __BEGIN_DECLS * need to support bitfields since that's what glibc made visible to users. * So, we take * advantage of how gcc lays out bitfields to create an appropriate - * mapping. Inside uclibc (UCLIBC_INTERNAL is defined) we access the + * mapping. Inside uclibc (i.e. if _LIBC is defined) we access the * bitfields using bitmasks in a single flag variable. * * WARNING -- This may very well fail if built with -fpack-struct!!! @@ -61,7 +61,7 @@ struct printf_info { int spec; #endif -#ifndef UCLIBC_INTERNAL +#ifndef _LIBC #if __BYTE_ORDER == __LITTLE_ENDIAN unsigned int space:1; /* Space flag. */ @@ -95,7 +95,7 @@ struct printf_info { #error unsupported byte order! #endif -#else /* UCLIBC_INTERNAL */ +#else /* _LIBC */ uint32_t _flags; /* non-gnu */ #define __PRINT_INFO_FLAG_space (1<<0) @@ -121,7 +121,7 @@ struct printf_info { #define PRINT_INFO_SET_extra(INFO_PTR,VAL) \ ((INFO_PTR)->_flags |= (((INFO_PTR)->_flags & ~1) | ((VAL) & 1))) -#endif /* UCLIBC_INTERNAL */ +#endif /* _LIBC */ #ifdef __UCLIBC_HAS_WCHAR__ wchar_t pad; /* Padding character. */ -- cgit v1.2.3