[PATCH 1/2] quotearg: lessen dependencies

Paul Eggert <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs
Message-ID <[email protected]>
* lib/quotearg.c: Do not include c-strcaseeq.h, as its
macros are no longer used here.
* modules/quotearg (Depends-on): Remove c-strcaseeq.
Also remove memcmp, since the code no longer uses memcmp.
---
 ChangeLog        | 6 ++++++
 lib/quotearg.c   | 1 -
 modules/quotearg | 2 --
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 80bca2cba3..cd74c15b09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2026-05-25  Paul Eggert  <[email protected]>
 
+	quotearg: lessen dependencies
+	* lib/quotearg.c: Do not include c-strcaseeq.h, as its
+	macros are no longer used here.
+	* modules/quotearg (Depends-on): Remove c-strcaseeq.
+	Also remove memcmp, since the code no longer uses memcmp.
+
 	diffseq: pacify gcc -Wusless-cast
 	* lib/diffseq.h (OFFSET_MAX): Pacify when OFFSET is int.
 
diff --git a/lib/quotearg.c b/lib/quotearg.c
index a7fe57820e..c3706016ec 100644
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -32,7 +32,6 @@
 #include "attribute.h"
 #include "minmax.h"
 #include "xalloc.h"
-#include "c-strcaseeq.h"
 
 #include <ctype.h>
 #include <errno.h>
diff --git a/modules/quotearg b/modules/quotearg
index 5c431d1ccb..17a7c1314c 100644
--- a/modules/quotearg
+++ b/modules/quotearg
@@ -9,7 +9,6 @@ m4/quotearg.m4
 
 Depends-on:
 attribute
-c-strcaseeq
 c32isprint
 extensions
 gettext-h
@@ -17,7 +16,6 @@ gnulib-i18n
 mbszero
 mbrtoc32
 mbsinit
-memcmp
 minmax
 quotearg-simple
 bool
-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.