From c2f6b93ada1cd8e327fd5699de8dedeb7f7c38cf Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 20 Feb 2005 17:28:25 +0000 Subject: [PATCH] No longer need memmove() --- compat.h | 3 --- config.h.in | 3 --- configure | 3 +-- configure.in | 2 +- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/compat.h b/compat.h index 844a116c2..e430e274e 100644 --- a/compat.h +++ b/compat.h @@ -170,9 +170,6 @@ #if !defined(HAVE_MEMCPY) && !defined(memcpy) # define memcpy(_d, _s, _n) (bcopy(_s, _d, _n)) #endif -#if !defined(HAVE_MEMMOVE) && !defined(memmove) -# define memmove(_d, _s, _n) (bcopy(_s, _d, _n)) -#endif #if !defined(HAVE_MEMSET) && !defined(memset) # define memset(_s, _x, _n) (bzero(_s, _n)) #endif diff --git a/config.h.in b/config.h.in index 670d5f3d2..95b3f440f 100644 --- a/config.h.in +++ b/config.h.in @@ -221,9 +221,6 @@ /* Define to 1 if you have the `memcpy' function. */ #undef HAVE_MEMCPY -/* Define to 1 if you have the `memmove' function. */ -#undef HAVE_MEMMOVE - /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H diff --git a/configure b/configure index 63cfd4c7d..934916114 100755 --- a/configure +++ b/configure @@ -25887,8 +25887,7 @@ esac - -for ac_func in strchr strrchr memchr memcpy memmove memset sysconf tzset \ +for ac_func in strchr strrchr memchr memcpy memset sysconf tzset \ strftime setrlimit initgroups getgroups fstat gettimeofday \ setlocale do diff --git a/configure.in b/configure.in index d5809f14e..29a61c208 100644 --- a/configure.in +++ b/configure.in @@ -1713,7 +1713,7 @@ esac dnl dnl Function checks dnl -AC_CHECK_FUNCS(strchr strrchr memchr memcpy memmove memset sysconf tzset \ +AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf tzset \ strftime setrlimit initgroups getgroups fstat gettimeofday \ setlocale) if test -z "$SKIP_SETRESUID"; then -- 2.40.0