diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sys2.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/sys2.h b/src/sys2.h index a68327e18..9d9082b1a 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -143,16 +143,6 @@ char *getenv (); #include "xalloc.h" #ifndef HAVE_MEMPCPY -# if defined (__GNUC__) -/* Use an inline function with GNU C so we don't get the warning that - `value computed is not used'. */ -static __inline__ void* -mempcpy (void *d, const void *s, size_t n) -{ - return (char *) memcpy (d, s, n) + n; -} -# else /* Be CAREFUL that there are no side effects in N. */ -# define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N))) -# endif +# define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N))) #endif |