maint: omit some unused function tests

* m4/jm-macros.m4: Do not check for ftruncate, iswspace,
mkfifo, mbrlen, sysctl.  Coreutils no longer uses the
corresponding HAVE_* macros, typically because Gnulib
handles them now.
* src/wc.c (iswspace): Remove; unused.
This commit is contained in:
Paul Eggert committed 2023-09-23 00:28:27 -07:00
1 parent fc1822a042
commit a6648d4102
2 files changed
+1 -11

No files matched your search

+1 -6
View File
@@ -1,4 +1,4 @@
#serial 114 -*- autoconf -*-
#serial 115 -*- autoconf -*-
dnl Misc type-related macros for coreutils.
@@ -67,16 +67,11 @@ AC_DEFUN([coreutils_MACROS],
fallocate
fchown
fchmod
ftruncate
iswspace
mkfifo
mbrlen
setgroups
sethostname
siginterrupt
sync
syncfs
sysctl
sysinfo
tcgetpgrp
])
-5
View File
@@ -36,11 +36,6 @@
#include "stat-size.h"
#include "xbinary-io.h"
#if !defined iswspace && !HAVE_ISWSPACE
# define iswspace(wc) \
((wc) == to_uchar (wc) && isspace (to_uchar (wc)))
#endif
/* The official name of this program (e.g., no 'g' prefix). */
#define PROGRAM_NAME "wc"