svn commit: trunk/uClibc: libc/inet libc/misc/time libc/stdio lib etc...

psm at uclibc.org psm at uclibc.org
Sat Dec 3 21:09:27 UTC 2005


Author: psm
Date: 2005-12-03 13:09:17 -0800 (Sat, 03 Dec 2005)
New Revision: 12660

Log:
_uintmaxtostr is only internally used, we do not need a rename, uClibc_uintmaxtostr.h is only internal header, remove from target

Modified:
   trunk/uClibc/Makefile.in
   trunk/uClibc/libc/inet/addr.c
   trunk/uClibc/libc/misc/time/time.c
   trunk/uClibc/libc/stdio/_uintmaxtostr.c
   trunk/uClibc/libc/stdio/old_vfprintf.c
   trunk/uClibc/libc/stdio/vfprintf.c
   trunk/uClibc/libc/stdlib/ptsname.c
   trunk/uClibc/libc/string/wstring.c
   trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h


Changeset:
Modified: trunk/uClibc/Makefile.in
===================================================================
--- trunk/uClibc/Makefile.in	2005-12-03 20:32:13 UTC (rev 12659)
+++ trunk/uClibc/Makefile.in	2005-12-03 21:09:17 UTC (rev 12660)
@@ -112,6 +112,7 @@
 	tar -chf - --exclude .svn $$extra_exclude include \
 		| tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
 	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/dl-osinfo.h
+	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/uClibc_uintmaxtostr.h
 ifneq ($(UCLIBC_HAS_FLOATS),y)
 	# Remove floating point related headers since float support is disabled.
 	$(RM) $(PREFIX)$(DEVEL_PREFIX)include/complex.h

Modified: trunk/uClibc/libc/inet/addr.c
===================================================================
--- trunk/uClibc/libc/inet/addr.c	2005-12-03 20:32:13 UTC (rev 12659)
+++ trunk/uClibc/libc/inet/addr.c	2005-12-03 21:09:17 UTC (rev 12660)
@@ -16,7 +16,6 @@
  * Changed to use _int10tostr.
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
 /* for some reason this does not work here */
 #define memmove __memmove
 

Modified: trunk/uClibc/libc/misc/time/time.c
===================================================================
--- trunk/uClibc/libc/misc/time/time.c	2005-12-03 20:32:13 UTC (rev 12659)
+++ trunk/uClibc/libc/misc/time/time.c	2005-12-03 21:09:17 UTC (rev 12660)
@@ -129,7 +129,6 @@
  *            differs (intentionally) from glibc's behavior.
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
 #define strnlen __strnlen
 
 #define _GNU_SOURCE

Modified: trunk/uClibc/libc/stdio/_uintmaxtostr.c
===================================================================
--- trunk/uClibc/libc/stdio/_uintmaxtostr.c	2005-12-03 20:32:13 UTC (rev 12659)
+++ trunk/uClibc/libc/stdio/_uintmaxtostr.c	2005-12-03 21:09:17 UTC (rev 12660)
@@ -17,7 +17,7 @@
 #define INTERNAL_DIV_MOD
 #endif
 
-char attribute_hidden *__libc__uintmaxtostr(register char * __restrict bufend, uintmax_t uval,
+char attribute_hidden *_uintmaxtostr(register char * __restrict bufend, uintmax_t uval,
 					int base, __UIM_CASE alphacase)
 {
     int negative;
@@ -149,4 +149,3 @@
 
     return bufend;
 }
-strong_alias(__libc__uintmaxtostr,_uintmaxtostr)

Modified: trunk/uClibc/libc/stdio/old_vfprintf.c
===================================================================
--- trunk/uClibc/libc/stdio/old_vfprintf.c	2005-12-03 20:32:13 UTC (rev 12659)
+++ trunk/uClibc/libc/stdio/old_vfprintf.c	2005-12-03 21:09:17 UTC (rev 12660)
@@ -127,7 +127,6 @@
 
 /**************************************************************************/
 
-#define _uintmaxtostr __libc__uintmaxtostr
 #define strnlen __strnlen
 
 #define _ISOC99_SOURCE			/* for ULLONG primarily... */

Modified: trunk/uClibc/libc/stdio/vfprintf.c
===================================================================
--- trunk/uClibc/libc/stdio/vfprintf.c	2005-12-03 20:32:13 UTC (rev 12659)
+++ trunk/uClibc/libc/stdio/vfprintf.c	2005-12-03 21:09:17 UTC (rev 12660)
@@ -88,7 +88,6 @@
  *   treats this as an error.
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
 #define strnlen __strnlen
 #define wcslen __wcslen
 #define wcsnlen __wcsnlen

Modified: trunk/uClibc/libc/stdlib/ptsname.c
===================================================================
--- trunk/uClibc/libc/stdlib/ptsname.c	2005-12-03 20:32:13 UTC (rev 12659)
+++ trunk/uClibc/libc/stdlib/ptsname.c	2005-12-03 21:09:17 UTC (rev 12660)
@@ -17,8 +17,6 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
-
 #define _ISOC99_SOURCE
 #include <stdio.h>
 #include <errno.h>

Modified: trunk/uClibc/libc/string/wstring.c
===================================================================
--- trunk/uClibc/libc/string/wstring.c	2005-12-03 20:32:13 UTC (rev 12659)
+++ trunk/uClibc/libc/string/wstring.c	2005-12-03 21:09:17 UTC (rev 12660)
@@ -26,8 +26,6 @@
  *  mapping of signal strings (alpha, mips, hppa, sparc).
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
-
 #define _GNU_SOURCE
 #include <features.h>
 #include <string.h>

Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h	2005-12-03 20:32:13 UTC (rev 12659)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h	2005-12-03 21:09:17 UTC (rev 12660)
@@ -100,7 +100,7 @@
  *          Otherwise, you could overflow your buffer.
  */
 extern char *_uintmaxtostr(char * __restrict bufend, uintmax_t uval,
-						   int base, __UIM_CASE alphacase);
+					int base, __UIM_CASE alphacase) attribute_hidden;
 
 /* TODO -- make this either a (possibly inline) function? */
 #ifndef __BCC__




More information about the uClibc-cvs mailing list