From: Guilherme Janczak Date: Wed, 22 Jun 2022 14:42:39 +0000 (+0000) Subject: argp: Remove old includes in !_LIBC case X-Git-Tag: glibc-2.36~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1bd9ec0e126a918b58094f6977e2c5f9ac8e9f;p=thirdparty%2Fglibc.git 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 --- diff --git a/argp/argp-namefrob.h b/argp/argp-namefrob.h index 2b6a4f1ea81..baed8f19995 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