]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: move field_sep into separate module
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 28 Oct 2023 00:15:08 +0000 (17:15 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 Oct 2023 07:58:04 +0000 (00:58 -0700)
commit684e810ae2de35dd2761bc28149280a249810d5b
tree6b0bff015f2524f7cb023e6784f19af8148be72e
parent2f3d9524bb4d803e5adcf91f8cb2f068fe912c44
maint: move field_sep into separate module

This is so that we don’t need to have every source file
include ctype.h.
* bootstrap.conf (gnulib_modules): Add cu-ctype.
* gl/lib/cu-ctype.c, gl/lib/cu-ctype.h, gl/modules/cu-ctype:
New files.
* src/join.c, src/numfmt.c, src/sort.c, src/uniq.c:
Include cu-ctype.h, for field_sep.
* src/system.h (field_sep): Remove; now supplied by cu-ctype.
bootstrap.conf
gl/lib/cu-ctype.c [new file with mode: 0644]
gl/lib/cu-ctype.h [new file with mode: 0644]
gl/modules/cu-ctype [new file with mode: 0644]
src/join.c
src/numfmt.c
src/sort.c
src/system.h
src/uniq.c