summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuilherme Janczak <guilherme.janczak@yandex.com>2022-06-22 14:42:39 +0000
committerFlorian Weimer <fweimer@redhat.com>2022-07-04 15:25:18 +0200
commitbb1bd9ec0e126a918b58094f6977e2c5f9ac8e9f (patch)
tree41a3e1368d3e3a86f2f602a9574e1bf6472af219
parentc33ada0602fdc3fcf44d6c792844a14b060bbfce (diff)
downloadglibc-bb1bd9ec0e126a918b58094f6977e2c5f9ac8e9f.tar.gz
glibc-bb1bd9ec0e126a918b58094f6977e2c5f9ac8e9f.tar.xz
glibc-bb1bd9ec0e126a918b58094f6977e2c5f9ac8e9f.zip
argp: Remove old includes in !_LIBC case
The headers mempcpy.h, strcase.h, strchrnul.h, and strndup.h are
included if not building argp for glibc. Commit
c5af724c0b214a517f8558887f7a70efcfa2c813 added them in 2003 for gnulib,
but gnulib's current master patches them out:
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/argp-namefrob.h;h=9c82ac79c215540f986c3e04398edba3ba1b7234;hb=HEAD
-rw-r--r--argp/argp-namefrob.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/argp/argp-namefrob.h b/argp/argp-namefrob.h
index 2b6a4f1ea8..baed8f1999 100644
--- a/argp/argp-namefrob.h
+++ b/argp/argp-namefrob.h
@@ -76,11 +76,6 @@
 #undef __argp_fmtstream_wmargin
 #define __argp_fmtstream_wmargin argp_fmtstream_wmargin
 
-#include "mempcpy.h"
-#include "strcase.h"
-#include "strchrnul.h"
-#include "strndup.h"
-
 /* normal libc functions we call */
 #undef __flockfile
 #define __flockfile flockfile