From e974b3d13ea70149c9ecd8fc3f1fff11b95852fc Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 7 Apr 2006 01:47:30 +0000 Subject: [PATCH] * xstrdup.c: Remove compatibility shims that, due to this file's inclusion in gap, broke DJGPP build. svn path=/trunk/yasm/; revision=1469 --- libyasm/xstrdup.c | 10 ---------- 1 file changed, 10 deletions(-) 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 -- 2.50.1