]> sourceware.org Git - glibc.git/commitdiff
argp: Remove old includes in !_LIBC case
authorGuilherme Janczak <guilherme.janczak@yandex.com>
Wed, 22 Jun 2022 14:42:39 +0000 (14:42 +0000)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 4 Jul 2022 13:25:18 +0000 (15:25 +0200)
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

argp/argp-namefrob.h

index 2b6a4f1ea81ce1a45d5fc26a46117b4df9ee87ff..baed8f19995a26b733b4c4ea2a028ff447f7aafc 100644 (file)
 #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
This page took 0.045315 seconds and 5 git commands to generate.