public inbox for
help / color / mirror / Atom feed
* [glibc] argp: Remove old includes in !_LIBC case
@ 2022-07-04 13:29 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2022-07-04 13:29 UTC (permalink / raw)
  To: glibc-cvs;h=bb1bd9ec0e126a918b58094f6977e2c5f9ac8e9f

commit bb1bd9ec0e126a918b58094f6977e2c5f9ac8e9f
Author: Guilherme Janczak <>
Date:   Wed Jun 22 14:42:39 2022 +0000

    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:;a=blob;f=lib/argp-namefrob.h;h=9c82ac79c215540f986c3e04398edba3ba1b7234;hb=HEAD

 argp/argp-namefrob.h | 5 -----
 1 file changed, 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-04 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 13:29 [glibc] argp: Remove old includes in !_LIBC case Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).