OSDN Git Service

_uintmaxtostr is only internally used, we do not need a rename, uClibc_uintmaxtostr...
authorPeter S. Mazinger <ps.m@gmx.net>
Sat, 3 Dec 2005 21:09:17 +0000 (21:09 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Sat, 3 Dec 2005 21:09:17 +0000 (21:09 -0000)
Makefile.in
libc/inet/addr.c
libc/misc/time/time.c
libc/stdio/_uintmaxtostr.c
libc/stdio/old_vfprintf.c
libc/stdio/vfprintf.c
libc/stdlib/ptsname.c
libc/string/wstring.c
libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h

index c66638c..9d72e8d 100644 (file)
@@ -112,6 +112,7 @@ install_headers:
        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
index a03b757..f46d54a 100644 (file)
@@ -16,7 +16,6 @@
  * Changed to use _int10tostr.
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
 /* for some reason this does not work here */
 #define memmove __memmove
 
index 3c47cb8..d7cf180 100644 (file)
  *            differs (intentionally) from glibc's behavior.
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
 #define strnlen __strnlen
 
 #define _GNU_SOURCE
index 847d235..bf92506 100644 (file)
@@ -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 @@ char attribute_hidden *__libc__uintmaxtostr(register char * __restrict bufend, u
 
     return bufend;
 }
-strong_alias(__libc__uintmaxtostr,_uintmaxtostr)
index abf535a..aafc4a1 100644 (file)
 
 /**************************************************************************/
 
-#define _uintmaxtostr __libc__uintmaxtostr
 #define strnlen __strnlen
 
 #define _ISOC99_SOURCE                 /* for ULLONG primarily... */
index 4675dac..e3f389a 100644 (file)
@@ -88,7 +88,6 @@
  *   treats this as an error.
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
 #define strnlen __strnlen
 #define wcslen __wcslen
 #define wcsnlen __wcsnlen
index 539cbca..d4e99a0 100644 (file)
@@ -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>
index 70e0be8..f1aaf9c 100644 (file)
@@ -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>
index 726558a..92633ff 100644 (file)
@@ -100,7 +100,7 @@ typedef enum {
  *          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__