about summary refs log tree commit diff
path: root/string/memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/memcmp.c')
-rw-r--r--string/memcmp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/string/memcmp.c b/string/memcmp.c
index c53ab3185d..abd4f24fe4 100644
--- a/string/memcmp.c
+++ b/string/memcmp.c
@@ -20,9 +20,6 @@
 # include "config.h"
 #endif
 
-#undef	__ptr_t
-#define __ptr_t	void *
-
 #if defined HAVE_STRING_H || defined _LIBC
 # include <string.h>
 #endif
@@ -301,7 +298,7 @@ memcmp_not_common_alignment (long int srcp1, long int srcp2, size_t len)
 }
 
 int
-MEMCMP (const __ptr_t s1, const __ptr_t s2, size_t len)
+MEMCMP (const void *s1, const void *s2, size_t len)
 {
   op_t a0;
   op_t b0;