summaryrefslogtreecommitdiffstats
path: root/lib/system.h
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-02-27 13:56:53 +0100
committerUlf Hermann <[email protected]>2017-04-28 09:17:21 +0000
commitffb6a77fc4f0533126a3ff49ec5c03ef8e674520 (patch)
treea2697a941141c6d55a11df8fbfee7275f3ef3a9c /lib/system.h
parent121d248c1da7f2130a2edde6d158f116c89ed407 (diff)
Drop handrolled or #ifdef'ed libc replacements
mempcpy, memrchr, rawmemchr, and argp are provided by gnulib now. We don't need to define them locally and we don't need to search for an external libargp. Change-Id: I131ca4bc2d77c597b99c296c28259a3600e5d1b5 Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'lib/system.h')
-rw-r--r--lib/system.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/system.h b/lib/system.h
index 92033355..ffa2bc70 100644
--- a/lib/system.h
+++ b/lib/system.h
@@ -63,11 +63,6 @@
#define powerof2(x) (((x) & ((x) - 1)) == 0)
#endif
-#if !HAVE_DECL_MEMPCPY
-#define mempcpy(dest, src, n) \
- ((void *) ((char *) memcpy (dest, src, n) + (size_t) n))
-#endif
-
/* A special gettext function we use if the strings are too short. */
#define sgettext(Str) \
({ const char *__res = strrchr (gettext (Str), '|'); \