From 116997309c648b1d3d2cf6a3840494dfd420dece Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 27 Dec 2024 23:21:40 +0100 Subject: [PATCH] Rename module stdckdint to stdckdint-h. * modules/stdckdint-h: Renamed from modules/stdckdint. * modules/stdckdint-h-tests: Renamed from modules/stdckdint-tests. * modules/stdckdint-h-c++-tests: Renamed from modules/stdckdint-c++-tests. * tests/test-stdckdint-h.c: Renamed from tests/test-stdckdint.c. * tests/test-stdckdint-h-c++.cc: Renamed from tests/test-stdckdint-c++.cc. * doc/posix-headers/stdckdint.texi: Update. * doc/intprops.texi: Update. * modules/* (Depends-on): Update. * modules/stdckdint: New file. --- ChangeLog | 15 ++++++ doc/intprops.texi | 4 +- doc/posix-headers/stdckdint.texi | 4 +- modules/alignalloc | 2 +- modules/backup-rename | 2 +- modules/backupfile | 2 +- modules/base32 | 2 +- modules/base64 | 2 +- modules/c-nstrftime | 2 +- modules/calloc-gnu | 2 +- modules/calloc-posix | 2 +- modules/chown-tests | 2 +- modules/fchownat-tests | 2 +- modules/fdutimensat-tests | 2 +- modules/file-has-acl | 2 +- modules/fnmatch | 2 +- modules/ftello | 2 +- modules/futimens-tests | 2 +- modules/glibc-internal/dynarray | 2 +- modules/glob | 2 +- modules/group-member | 2 +- modules/lchown-tests | 2 +- modules/malloc-gnu | 2 +- modules/malloc-posix | 2 +- modules/malloca | 2 +- modules/mktime | 2 +- modules/nstrftime | 2 +- modules/parse-datetime | 2 +- modules/posix_memalign | 2 +- modules/posixtm | 2 +- modules/realloc-posix | 2 +- modules/reallocarray | 2 +- modules/regex | 2 +- modules/relocatable-prog-wrapper | 2 +- modules/stat-time | 2 +- modules/stat-time-tests | 2 +- modules/stdckdint | 35 +++----------- modules/stdckdint-c++-tests | 17 ------- modules/stdckdint-h | 46 +++++++++++++++++++ modules/stdckdint-h-c++-tests | 17 +++++++ .../{stdckdint-tests => stdckdint-h-tests} | 8 ++-- modules/timespec-add | 2 +- modules/timespec-sub | 2 +- modules/utime-tests | 2 +- modules/utimens-tests | 2 +- modules/utimensat-tests | 2 +- modules/xalloc | 2 +- modules/xstrtol | 2 +- ...dckdint-c++.cc => test-stdckdint-h-c++.cc} | 0 .../{test-stdckdint.c => test-stdckdint-h.c} | 0 50 files changed, 133 insertions(+), 93 deletions(-) delete mode 100644 modules/stdckdint-c++-tests create mode 100644 modules/stdckdint-h create mode 100644 modules/stdckdint-h-c++-tests rename modules/{stdckdint-tests => stdckdint-h-tests} (51%) rename tests/{test-stdckdint-c++.cc => test-stdckdint-h-c++.cc} (100%) rename tests/{test-stdckdint.c => test-stdckdint-h.c} (100%) diff --git a/ChangeLog b/ChangeLog index ad9d1c25a7..a910bc094d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2024-12-27 Bruno Haible + + Rename module stdckdint to stdckdint-h. + * modules/stdckdint-h: Renamed from modules/stdckdint. + * modules/stdckdint-h-tests: Renamed from modules/stdckdint-tests. + * modules/stdckdint-h-c++-tests: Renamed from + modules/stdckdint-c++-tests. + * tests/test-stdckdint-h.c: Renamed from tests/test-stdckdint.c. + * tests/test-stdckdint-h-c++.cc: Renamed from + tests/test-stdckdint-c++.cc. + * doc/posix-headers/stdckdint.texi: Update. + * doc/intprops.texi: Update. + * modules/* (Depends-on): Update. + * modules/stdckdint: New file. + 2024-12-27 Bruno Haible Rename module stdbool to stdbool-h. diff --git a/doc/intprops.texi b/doc/intprops.texi index d87071fc37..023d106532 100644 --- a/doc/intprops.texi +++ b/doc/intprops.texi @@ -341,9 +341,9 @@ low-order bits are the mathematically-correct product. See above for restrictions. @end table -@mindex stdckdint +@mindex stdckdint-h If your code includes @code{} only for these @code{_WRAPV} -macros, you may prefer to use Gnulib's @code{stdckdint} module +macros, you may prefer to use Gnulib's @code{stdckdint-h} module instead, as it supports similar macros that were standardized in C23 and are therefore independent of Gnulib if your code can assume C23 or later. @xref{stdckdint.h}. diff --git a/doc/posix-headers/stdckdint.texi b/doc/posix-headers/stdckdint.texi index 87e8c0bf9c..6c7068ec73 100644 --- a/doc/posix-headers/stdckdint.texi +++ b/doc/posix-headers/stdckdint.texi @@ -6,8 +6,8 @@ ISO draft C23 (@url{https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf}) section 7.20. -Gnulib module: stdckdint -@mindex stdckdint +Gnulib module: stdckdint-h +@mindex stdckdint-h Portability problems fixed by Gnulib: @itemize diff --git a/modules/alignalloc b/modules/alignalloc index 400ab29182..7f1aac45c5 100644 --- a/modules/alignalloc +++ b/modules/alignalloc @@ -13,7 +13,7 @@ extensions extern-inline idx posix_memalign -stdckdint +stdckdint-h stdint configure.ac: diff --git a/modules/backup-rename b/modules/backup-rename index 0e2ddfb27c..286756277a 100644 --- a/modules/backup-rename +++ b/modules/backup-rename @@ -22,7 +22,7 @@ opendirat readdir renameatu stdbool-h -stdckdint +stdckdint-h stdint xalloc-oversized diff --git a/modules/backupfile b/modules/backupfile index 7731b8dd65..2f25801bcb 100644 --- a/modules/backupfile +++ b/modules/backupfile @@ -22,7 +22,7 @@ opendirat readdir renameatu stdbool-h -stdckdint +stdckdint-h stdint xalloc-die diff --git a/modules/base32 b/modules/base32 index 9b594363ba..144e953f93 100644 --- a/modules/base32 +++ b/modules/base32 @@ -11,7 +11,7 @@ extern-inline ialloc stdbool-h memchr -stdckdint +stdckdint-h configure.ac: gl_FUNC_BASE32 diff --git a/modules/base64 b/modules/base64 index 2671efeb5c..e2af2ad6a8 100644 --- a/modules/base64 +++ b/modules/base64 @@ -11,7 +11,7 @@ extern-inline ialloc stdbool-h memchr -stdckdint +stdckdint-h configure.ac: gl_FUNC_BASE64 diff --git a/modules/c-nstrftime b/modules/c-nstrftime index 337f8396fc..921c08ef3c 100644 --- a/modules/c-nstrftime +++ b/modules/c-nstrftime @@ -18,7 +18,7 @@ intprops libc-config locale-h stdbool-h -stdckdint +stdckdint-h time_rz configure.ac: diff --git a/modules/calloc-gnu b/modules/calloc-gnu index 63f498f0d4..e588ad79d0 100644 --- a/modules/calloc-gnu +++ b/modules/calloc-gnu @@ -8,7 +8,7 @@ m4/calloc.m4 Depends-on: calloc-posix extensions-aix -stdckdint [test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1] +stdckdint-h [test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1] configure.ac: gl_FUNC_CALLOC_GNU diff --git a/modules/calloc-posix b/modules/calloc-posix index e455296d75..dc9d0729ab 100644 --- a/modules/calloc-posix +++ b/modules/calloc-posix @@ -7,7 +7,7 @@ m4/calloc.m4 m4/malloc.m4 Depends-on: -stdckdint [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1] +stdckdint-h [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1] stdlib configure.ac: diff --git a/modules/chown-tests b/modules/chown-tests index cf47340a0d..7be01f2a50 100644 --- a/modules/chown-tests +++ b/modules/chown-tests @@ -12,7 +12,7 @@ mgetgroups nanosleep stat-time stdbool-h -stdckdint +stdckdint-h symlink xconcat-filename xgetcwd diff --git a/modules/fchownat-tests b/modules/fchownat-tests index 856ccf8467..2132fd01a2 100644 --- a/modules/fchownat-tests +++ b/modules/fchownat-tests @@ -13,7 +13,7 @@ mgetgroups nanosleep openat-h stat-time -stdckdint +stdckdint-h symlink xconcat-filename xgetcwd diff --git a/modules/fdutimensat-tests b/modules/fdutimensat-tests index f4eb2ecc04..2798e2b0e0 100644 --- a/modules/fdutimensat-tests +++ b/modules/fdutimensat-tests @@ -12,7 +12,7 @@ fcntl-h ignore-value nanosleep openat -stdckdint +stdckdint-h timespec dup utimecmp diff --git a/modules/file-has-acl b/modules/file-has-acl index ce20e2795d..5073e97027 100644 --- a/modules/file-has-acl +++ b/modules/file-has-acl @@ -21,7 +21,7 @@ malloc-posix ssize_t stat stdbool-h -stdckdint +stdckdint-h configure.ac: gl_FILE_HAS_ACL diff --git a/modules/fnmatch b/modules/fnmatch index 660d96218d..4384e9b5dc 100644 --- a/modules/fnmatch +++ b/modules/fnmatch @@ -17,7 +17,7 @@ idx [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] isblank [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] libc-config [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] stdbool-h [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] -stdckdint [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] +stdckdint-h [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] strnlen [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] uchar [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] memchr [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1] diff --git a/modules/ftello b/modules/ftello index 7a29e6d581..f85c4e8b1d 100644 --- a/modules/ftello +++ b/modules/ftello @@ -14,7 +14,7 @@ extensions largefile sys_types lseek [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1] -stdckdint [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1] +stdckdint-h [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1] # Just to guarantee consistency between ftell() and ftello(). ftell diff --git a/modules/futimens-tests b/modules/futimens-tests index 7781dff3d3..d40c3c849c 100644 --- a/modules/futimens-tests +++ b/modules/futimens-tests @@ -11,7 +11,7 @@ gettext-h fcntl-h ignore-value nanosleep -stdckdint +stdckdint-h timespec dup utimecmp diff --git a/modules/glibc-internal/dynarray b/modules/glibc-internal/dynarray index 582aa18d60..3271e69b4e 100644 --- a/modules/glibc-internal/dynarray +++ b/modules/glibc-internal/dynarray @@ -17,7 +17,7 @@ builtin-expect gen-header libc-config stdbool-h -stdckdint +stdckdint-h stddef configure.ac: diff --git a/modules/glob b/modules/glob index d4557a2715..b5475dfb66 100644 --- a/modules/glob +++ b/modules/glob @@ -29,7 +29,7 @@ opendir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] readdir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] glibc-internal/scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] stdbool-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] -stdckdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] +stdckdint-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] stdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] strdup [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] unistd [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1] diff --git a/modules/group-member b/modules/group-member index a1b85c7be8..619b6318ef 100644 --- a/modules/group-member +++ b/modules/group-member @@ -10,7 +10,7 @@ unistd extensions getgroups [test $HAVE_GROUP_MEMBER = 0] malloc-gnu [test $HAVE_GROUP_MEMBER = 0] -stdckdint [test $HAVE_GROUP_MEMBER = 0] +stdckdint-h [test $HAVE_GROUP_MEMBER = 0] configure.ac: gl_FUNC_GROUP_MEMBER diff --git a/modules/lchown-tests b/modules/lchown-tests index 843d5e76e6..065ec57dd5 100644 --- a/modules/lchown-tests +++ b/modules/lchown-tests @@ -10,7 +10,7 @@ errno-h ignore-value mgetgroups nanosleep -stdckdint +stdckdint-h stat-time stdbool-h symlink diff --git a/modules/malloc-gnu b/modules/malloc-gnu index 13b26693b7..946596840b 100644 --- a/modules/malloc-gnu +++ b/modules/malloc-gnu @@ -7,7 +7,7 @@ lib/malloc.c Depends-on: malloc-posix extensions-aix -stdckdint [test $REPLACE_CALLOC_FOR_MALLOC_GNU = 1] +stdckdint-h [test $REPLACE_CALLOC_FOR_MALLOC_GNU = 1] configure.ac: gl_FUNC_MALLOC_GNU diff --git a/modules/malloc-posix b/modules/malloc-posix index a3efe4ca7b..9b06240af8 100644 --- a/modules/malloc-posix +++ b/modules/malloc-posix @@ -6,7 +6,7 @@ lib/malloc.c m4/malloc.m4 Depends-on: -stdckdint [test $REPLACE_CALLOC_FOR_MALLOC_POSIX = 1] +stdckdint-h [test $REPLACE_CALLOC_FOR_MALLOC_POSIX = 1] stdlib configure.ac: diff --git a/modules/malloca b/modules/malloca index 1eb235fe1b..2c5d2e2cc9 100644 --- a/modules/malloca +++ b/modules/malloca @@ -12,7 +12,7 @@ alloca-opt assert-h extensions-aix idx -stdckdint +stdckdint-h stdint xalloc-oversized diff --git a/modules/mktime b/modules/mktime index 4783935efe..9b00f17ff9 100644 --- a/modules/mktime +++ b/modules/mktime @@ -14,7 +14,7 @@ assert-h [test $REPLACE_MKTIME = 1] intprops [test $REPLACE_MKTIME = 1] libc-config [test $REPLACE_MKTIME = 1] stdbool-h [test $REPLACE_MKTIME = 1] -stdckdint [test $REPLACE_MKTIME = 1] +stdckdint-h [test $REPLACE_MKTIME = 1] time_r [test $REPLACE_MKTIME = 1] configure.ac: diff --git a/modules/nstrftime b/modules/nstrftime index a859d06675..6940ad6017 100644 --- a/modules/nstrftime +++ b/modules/nstrftime @@ -17,7 +17,7 @@ intprops libc-config localename-unsafe-limited stdbool-h -stdckdint +stdckdint-h time_rz configure.ac: diff --git a/modules/parse-datetime b/modules/parse-datetime index fe6f468a69..00f6a008fe 100644 --- a/modules/parse-datetime +++ b/modules/parse-datetime @@ -21,7 +21,7 @@ idx intprops inttypes-h mktime -stdckdint +stdckdint-h time-h time_r time_rz diff --git a/modules/posix_memalign b/modules/posix_memalign index e50e44ef23..e6ab0d7890 100644 --- a/modules/posix_memalign +++ b/modules/posix_memalign @@ -7,7 +7,7 @@ m4/posix_memalign.m4 Depends-on: extensions -stdckdint [test $REPLACE_POSIX_MEMALIGN = 1] +stdckdint-h [test $REPLACE_POSIX_MEMALIGN = 1] stdlib configure.ac: diff --git a/modules/posixtm b/modules/posixtm index e4f96657f9..431407be28 100644 --- a/modules/posixtm +++ b/modules/posixtm @@ -11,7 +11,7 @@ c-ctype idx mktime stdbool-h -stdckdint +stdckdint-h time verify diff --git a/modules/realloc-posix b/modules/realloc-posix index fd4fd89c3d..b8bfa1c964 100644 --- a/modules/realloc-posix +++ b/modules/realloc-posix @@ -8,7 +8,7 @@ m4/malloc.m4 Depends-on: extensions-aix -stdckdint [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0] +stdckdint-h [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0] stdlib configure.ac: diff --git a/modules/reallocarray b/modules/reallocarray index 28de7a0a3d..f2d1472ba1 100644 --- a/modules/reallocarray +++ b/modules/reallocarray @@ -10,7 +10,7 @@ m4/reallocarray.m4 Depends-on: extensions realloc-posix [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1] -stdckdint [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1] +stdckdint-h [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1] stdlib configure.ac: diff --git a/modules/regex b/modules/regex index ab046e17a9..7f0a3ec260 100644 --- a/modules/regex +++ b/modules/regex @@ -37,7 +37,7 @@ mbrtowc [test $ac_use_included_regex = yes] mbsinit [test $ac_use_included_regex = yes] nl_langinfo [test $ac_use_included_regex = yes] stdbool-h [test $ac_use_included_regex = yes] -stdckdint [test $ac_use_included_regex = yes] +stdckdint-h [test $ac_use_included_regex = yes] stdint [test $ac_use_included_regex = yes] verify [test $ac_use_included_regex = yes] wchar [test $ac_use_included_regex = yes] diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper index 837c089a47..00ebccc575 100644 --- a/modules/relocatable-prog-wrapper +++ b/modules/relocatable-prog-wrapper @@ -71,7 +71,7 @@ pathmax ssize_t stdbool-h stddef -stdckdint +stdckdint-h stdint stdlib string diff --git a/modules/stat-time b/modules/stat-time index 159900303e..424f33d483 100644 --- a/modules/stat-time +++ b/modules/stat-time @@ -11,7 +11,7 @@ time-h errno-h extensions extern-inline -stdckdint +stdckdint-h configure.ac: gl_STAT_TIME diff --git a/modules/stat-time-tests b/modules/stat-time-tests index 9a283783b7..5107493c6e 100644 --- a/modules/stat-time-tests +++ b/modules/stat-time-tests @@ -5,7 +5,7 @@ tests/nap.h Depends-on: nanosleep -stdckdint +stdckdint-h time-h unistd xconcat-filename diff --git a/modules/stdckdint b/modules/stdckdint index e102527588..d526aeeda5 100644 --- a/modules/stdckdint +++ b/modules/stdckdint @@ -1,40 +1,20 @@ Description: An that is like C23. +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'stdckdint-h' instead. + Files: -lib/stdckdint.in.h -lib/intprops-internal.h Depends-on: -gen-header -stdbool-h +stdckdint-h configure.ac: -AC_CHECK_HEADERS_ONCE([stdckdint.h]) -if test $ac_cv_header_stdckdint_h = yes; then - GL_GENERATE_STDCKDINT_H=false -else - GL_GENERATE_STDCKDINT_H=true -fi -gl_CONDITIONAL_HEADER([stdckdint.h]) -AC_PROG_MKDIR_P Makefile.am: -BUILT_SOURCES += $(STDCKDINT_H) - -# We need the following in order to create when the system -# doesn't have one that works with the given compiler. -if GL_GENERATE_STDCKDINT_H -stdckdint.h: stdckdint.in.h $(top_builddir)/config.status -@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' - $(gl_V_at)$(SED_HEADER_STDOUT) \ - $(srcdir)/stdckdint.in.h > $@-t - $(AM_V_at)mv $@-t $@ -else -stdckdint.h: $(top_builddir)/config.status - rm -f $@ -endif -MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t Include: @@ -43,4 +23,3 @@ License: LGPLv2+ Maintainer: -Paul Eggert diff --git a/modules/stdckdint-c++-tests b/modules/stdckdint-c++-tests deleted file mode 100644 index 8eb4b48844..0000000000 --- a/modules/stdckdint-c++-tests +++ /dev/null @@ -1,17 +0,0 @@ -Files: -tests/test-stdckdint-c++.cc - -Status: -c++-test - -Depends-on: -ansi-c++-opt - -configure.ac: - -Makefile.am: -if ANSICXX -TESTS += test-stdckdint-c++ -check_PROGRAMS += test-stdckdint-c++ -test_stdckdint_c___SOURCES = test-stdckdint-c++.cc -endif diff --git a/modules/stdckdint-h b/modules/stdckdint-h new file mode 100644 index 0000000000..e102527588 --- /dev/null +++ b/modules/stdckdint-h @@ -0,0 +1,46 @@ +Description: +An that is like C23. + +Files: +lib/stdckdint.in.h +lib/intprops-internal.h + +Depends-on: +gen-header +stdbool-h + +configure.ac: +AC_CHECK_HEADERS_ONCE([stdckdint.h]) +if test $ac_cv_header_stdckdint_h = yes; then + GL_GENERATE_STDCKDINT_H=false +else + GL_GENERATE_STDCKDINT_H=true +fi +gl_CONDITIONAL_HEADER([stdckdint.h]) +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += $(STDCKDINT_H) + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_STDCKDINT_H +stdckdint.h: stdckdint.in.h $(top_builddir)/config.status +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ + $(srcdir)/stdckdint.in.h > $@-t + $(AM_V_at)mv $@-t $@ +else +stdckdint.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t + +Include: + + +License: +LGPLv2+ + +Maintainer: +Paul Eggert diff --git a/modules/stdckdint-h-c++-tests b/modules/stdckdint-h-c++-tests new file mode 100644 index 0000000000..b38ffeb19c --- /dev/null +++ b/modules/stdckdint-h-c++-tests @@ -0,0 +1,17 @@ +Files: +tests/test-stdckdint-h-c++.cc + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-stdckdint-h-c++ +check_PROGRAMS += test-stdckdint-h-c++ +test_stdckdint_h_c___SOURCES = test-stdckdint-h-c++.cc +endif diff --git a/modules/stdckdint-tests b/modules/stdckdint-h-tests similarity index 51% rename from modules/stdckdint-tests rename to modules/stdckdint-h-tests index 0b5cb2c804..6e12249cb7 100644 --- a/modules/stdckdint-tests +++ b/modules/stdckdint-h-tests @@ -1,16 +1,16 @@ Files: tests/macros.h tests/test-intprops.c -tests/test-stdckdint.c +tests/test-stdckdint-h.c Depends-on: assert-h inttypes-h stdbool-h -stdckdint-c++-tests +stdckdint-h-c++-tests configure.ac: Makefile.am: -TESTS += test-stdckdint -check_PROGRAMS += test-stdckdint +TESTS += test-stdckdint-h +check_PROGRAMS += test-stdckdint-h diff --git a/modules/timespec-add b/modules/timespec-add index f1251bb4bf..91b61bb385 100644 --- a/modules/timespec-add +++ b/modules/timespec-add @@ -8,7 +8,7 @@ Depends-on: c99 intprops stdbool-h -stdckdint +stdckdint-h timespec configure.ac: diff --git a/modules/timespec-sub b/modules/timespec-sub index 39d3d69e68..7899932576 100644 --- a/modules/timespec-sub +++ b/modules/timespec-sub @@ -8,7 +8,7 @@ Depends-on: c99 intprops stdbool-h -stdckdint +stdckdint-h timespec configure.ac: diff --git a/modules/utime-tests b/modules/utime-tests index e354b476b8..bd30c02138 100644 --- a/modules/utime-tests +++ b/modules/utime-tests @@ -9,7 +9,7 @@ dup gettext-h ignore-value nanosleep -stdckdint +stdckdint-h symlink timespec utimecmp diff --git a/modules/utimens-tests b/modules/utimens-tests index 3899bf08d4..93365373ec 100644 --- a/modules/utimens-tests +++ b/modules/utimens-tests @@ -12,7 +12,7 @@ dup gettext-h ignore-value nanosleep -stdckdint +stdckdint-h symlink timespec utimecmp diff --git a/modules/utimensat-tests b/modules/utimensat-tests index 03c8d9990f..5b65328e28 100644 --- a/modules/utimensat-tests +++ b/modules/utimensat-tests @@ -10,7 +10,7 @@ tests/macros.h Depends-on: ignore-value nanosleep -stdckdint +stdckdint-h timespec utimecmp xconcat-filename diff --git a/modules/xalloc b/modules/xalloc index 3ff92ae57f..e5fa303ef6 100644 --- a/modules/xalloc +++ b/modules/xalloc @@ -16,7 +16,7 @@ malloc-gnu minmax realloc-posix reallocarray -stdckdint +stdckdint-h stdint xalloc-die diff --git a/modules/xstrtol b/modules/xstrtol index ef49dfc357..6b7b41a449 100644 --- a/modules/xstrtol +++ b/modules/xstrtol @@ -9,7 +9,7 @@ m4/xstrtol.m4 Depends-on: intprops -stdckdint +stdckdint-h stdint configure.ac: diff --git a/tests/test-stdckdint-c++.cc b/tests/test-stdckdint-h-c++.cc similarity index 100% rename from tests/test-stdckdint-c++.cc rename to tests/test-stdckdint-h-c++.cc diff --git a/tests/test-stdckdint.c b/tests/test-stdckdint-h.c similarity index 100% rename from tests/test-stdckdint.c rename to tests/test-stdckdint-h.c -- 2.39.5