浏览代码

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

Peter S. Mazinger 18 年之前
父节点
当前提交
86450311eb

+ 1 - 0
Makefile.in

@@ -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

+ 0 - 1
libc/inet/addr.c

@@ -16,7 +16,6 @@
  * Changed to use _int10tostr.
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
 /* for some reason this does not work here */
 #define memmove __memmove
 

+ 0 - 1
libc/misc/time/time.c

@@ -129,7 +129,6 @@
  *            differs (intentionally) from glibc's behavior.
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
 #define strnlen __strnlen
 
 #define _GNU_SOURCE

+ 1 - 2
libc/stdio/_uintmaxtostr.c

@@ -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)

+ 0 - 1
libc/stdio/old_vfprintf.c

@@ -127,7 +127,6 @@
 
 /**************************************************************************/
 
-#define _uintmaxtostr __libc__uintmaxtostr
 #define strnlen __strnlen
 
 #define _ISOC99_SOURCE			/* for ULLONG primarily... */

+ 0 - 1
libc/stdio/vfprintf.c

@@ -88,7 +88,6 @@
  *   treats this as an error.
  */
 
-#define _uintmaxtostr __libc__uintmaxtostr
 #define strnlen __strnlen
 #define wcslen __wcslen
 #define wcsnlen __wcsnlen

+ 0 - 2
libc/stdlib/ptsname.c

@@ -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>

+ 0 - 2
libc/string/wstring.c

@@ -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>

+ 1 - 1
libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h

@@ -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__