diff options
| author | Ulf Hermann <[email protected]> | 2017-02-27 13:56:53 +0100 |
|---|---|---|
| committer | Ulf Hermann <[email protected]> | 2017-04-28 09:17:21 +0000 |
| commit | ffb6a77fc4f0533126a3ff49ec5c03ef8e674520 (patch) | |
| tree | a2697a941141c6d55a11df8fbfee7275f3ef3a9c /lib/system.h | |
| parent | 121d248c1da7f2130a2edde6d158f116c89ed407 (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.h | 5 |
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), '|'); \ |
