summaryrefslogtreecommitdiffstats
path: root/lib/xstrndup.c
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/xstrndup.c
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/xstrndup.c')
-rw-r--r--lib/xstrndup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xstrndup.c b/lib/xstrndup.c
index a257aa9a..d43e3b9e 100644
--- a/lib/xstrndup.c
+++ b/lib/xstrndup.c
@@ -33,7 +33,7 @@
#include <stdint.h>
#include <string.h>
#include "libeu.h"
-#include "system.h"
+
/* Return a newly allocated copy of STRING. */
char *