summaryrefslogtreecommitdiffstats
path: root/contrib/argp-standalone/mempcpy.c
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2018-07-27 08:45:48 +0000
committerNiels de Vos <ndevos@redhat.com>2018-07-28 12:54:33 +0000
commit379d4279601f694465cc7eaffcb737410d5d9e31 (patch)
tree47be48bf3fecb31ee9aa6fbd1ea9442af90e8584 /contrib/argp-standalone/mempcpy.c
parent7131de81f72dda0ef685ed60d0887c6e14289b8c (diff)
build: remove bundled arg-standalone
libargp or argp-standalone is available on all commonly used distributions. There is no need to bundle an unmaintained version of argp-standalone in this repository anymore. FreeBSD places the argp.h file in /usr/local/include when argp-standalone is installed. This path is not added to CPPFLAGS by default, so thats done in configure.ac as well. Change-Id: I384a53ab0a008ec9d48fd83afeaf8fbc197e91ee Fixes: bz#1609337 Signed-off-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'contrib/argp-standalone/mempcpy.c')
-rw-r--r--contrib/argp-standalone/mempcpy.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/argp-standalone/mempcpy.c b/contrib/argp-standalone/mempcpy.c
deleted file mode 100644
index 21d8bd2ed94..00000000000
--- a/contrib/argp-standalone/mempcpy.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* strndup.c
- *
- */
-
-/* Written by Niels Möller <nisse@lysator.liu.se>
- *
- * This file is hereby placed in the public domain.
- */
-
-#include <string.h>
-
-void *
-mempcpy (void *, const void *, size_t) ;
-
-void *
-mempcpy (void *to, const void *from, size_t size)
-{
- memcpy(to, from, size);
- return (char *) to + size;
-}
-