]> granicus.if.org Git - yasm/commitdiff
* xstrdup.c: Remove compatibility shims that, due to this file's inclusion in gap...
authorPeter Johnson <peter@tortall.net>
Fri, 7 Apr 2006 01:47:30 +0000 (01:47 -0000)
committerPeter Johnson <peter@tortall.net>
Fri, 7 Apr 2006 01:47:30 +0000 (01:47 -0000)
build.

svn path=/trunk/yasm/; revision=1469

libyasm/xstrdup.c

index 3e1ebb59aace8c6a9542099cc5b9dbc27351b16d..c52c12cc8f01a0cc947afb2bfd9d4783144bbde8 100644 (file)
@@ -39,16 +39,6 @@ static char sccsid[] = "@(#)strdup.c 8.1 (Berkeley) 6/4/93";
 #endif /* LIBC_SCCS and not lint */
 
 
-#ifndef STDC_HEADERS
-size_t strlen(const char *);
-# ifndef HAVE_MEMCPY
-void bcopy(const void *, void *, size_t);
-#  define memcpy(d, s, n) bcopy((s), (d), (n))
-# else
-void memcpy(void *, const void *, size_t);
-# endif
-#endif
-
 #ifdef WITH_DMALLOC
 #undef yasm__xstrdup
 #endif