From: Peter Johnson Date: Fri, 7 Apr 2006 01:47:30 +0000 (-0000) Subject: * xstrdup.c: Remove compatibility shims that, due to this file's inclusion in gap... X-Git-Tag: v0.5.0rc2~2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e974b3d13ea70149c9ecd8fc3f1fff11b95852fc;p=yasm * xstrdup.c: Remove compatibility shims that, due to this file's inclusion in gap, broke DJGPP build. svn path=/trunk/yasm/; revision=1469 --- diff --git a/libyasm/xstrdup.c b/libyasm/xstrdup.c index 3e1ebb59..c52c12cc 100644 --- a/libyasm/xstrdup.c +++ b/libyasm/xstrdup.c @@ -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