]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
join: remove unused #include "argmatch.h"
authorBernhard Voelker <mail@bernhard-voelker.de>
Thu, 25 Sep 2025 20:50:01 +0000 (22:50 +0200)
committerCollin Funk <collin.funk1@gmail.com>
Fri, 26 Sep 2025 02:18:16 +0000 (19:18 -0700)
Prompted by the syntax-check failure:
  maint.mk: the above files include argmatch.h but don't use it
  make: *** [maint.mk:741: sc_prohibit_argmatch_without_use] Error 1

* src/join.c: Remove include, as the previous commit changed from using
ARRAY_CARDINALITY to countof - for which system.h includes the header.

src/join.c

index 5cf87d1e8e5e9d03ba1128abf34fc3be9dc69adf..e1899a93a24d52e420d21b12f8f560ed85b2a13d 100644 (file)
@@ -33,7 +33,6 @@
 #include "stdio--.h"
 #include "xmemcoll.h"
 #include "xstrtol.h"
-#include "argmatch.h"
 
 /* The official name of this program (e.g., no 'g' prefix).  */
 #define PROGRAM_NAME "join"