From a4586a78068740590d6a3ccb213328dd1767c1fd Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 5 Sep 2020 18:35:24 +0200 Subject: [PATCH] Use module 'c99' when needed for declaration-after-statement syntax. * modules/backup-rename (Depends-on): Add c99. * modules/backupfile (Depends-on): Likewise. * modules/bitset-tests (Depends-on): Likewise. * modules/bitsetv (Depends-on): Likewise. * modules/c-strtod (Depends-on): Likewise. * modules/c-strtold (Depends-on): Likewise. * modules/clean-temp (Depends-on): Likewise. * modules/copy-file (Depends-on): Likewise. * modules/crypto/hmac-md5-tests (Depends-on): Likewise. * modules/crypto/hmac-sha1-tests (Depends-on): Likewise. * modules/crypto/hmac-sha256-tests (Depends-on): Likewise. * modules/crypto/hmac-sha512-tests (Depends-on): Likewise. * modules/crypto/md5-buffer (Depends-on): Likewise. * modules/crypto/md5-tests (Depends-on): Likewise. * modules/crypto/sha1-buffer (Depends-on): Likewise. * modules/crypto/sha1-tests (Depends-on): Likewise. * modules/crypto/sha256-buffer (Depends-on): Likewise. * modules/crypto/sha256-tests (Depends-on): Likewise. * modules/crypto/sha512-buffer (Depends-on): Likewise. * modules/crypto/sha512-tests (Depends-on): Likewise. * modules/diffseq (Depends-on): Likewise. * modules/fatal-signal (Depends-on): Likewise. * modules/fchmodat (Depends-on): Likewise. * modules/fstrcmp (Depends-on): Likewise. * modules/fsusage (Depends-on): Likewise. * modules/fts (Depends-on): Likewise. * modules/fts-tests (Depends-on): Likewise. * modules/getumask (Depends-on): Likewise. * modules/git-merge-changelog (Depends-on): Likewise. * modules/hash-map (Depends-on): Likewise. * modules/hash-set (Depends-on): Likewise. * modules/lchmod (Depends-on): Likewise. * modules/libgmp-tests (Depends-on): Likewise. * modules/libtextstyle-optional-tests (Depends-on): Likewise. * modules/linkedhash-map (Depends-on): Likewise. * modules/linkedhash-set (Depends-on): Likewise. * modules/long-options (Depends-on): Likewise. * modules/mbrtoc32 (Depends-on): Likewise. * modules/memchr2-tests (Depends-on): Likewise. * modules/memmem-tests (Depends-on): Likewise. * modules/memrchr-tests (Depends-on): Likewise. * modules/mktime-internal (Depends-on): Likewise. * modules/nstrftime (Depends-on): Likewise. * modules/opendirat (Depends-on): Likewise. * modules/parse-datetime (Depends-on): Likewise. * modules/quotearg-simple-tests (Depends-on): Likewise. * modules/same (Depends-on): Likewise. * modules/supersede (Depends-on): Likewise. * modules/supersede-tests (Depends-on): Likewise. * modules/time_rz (Depends-on): Likewise. * modules/unistr/u16-chr-tests (Depends-on): Likewise. * modules/unistr/u32-chr-tests (Depends-on): Likewise. * modules/unistr/u8-chr-tests (Depends-on): Likewise. * modules/xalloc (Depends-on): Likewise. * modules/xnanosleep (Depends-on): Likewise. --- ChangeLog | 59 +++++++++++++++++++++++++++++ modules/backup-rename | 1 + modules/backupfile | 1 + modules/bitset-tests | 1 + modules/bitsetv | 1 + modules/c-strtod | 1 + modules/c-strtold | 1 + modules/clean-temp | 1 + modules/copy-file | 1 + modules/crypto/hmac-md5-tests | 1 + modules/crypto/hmac-sha1-tests | 1 + modules/crypto/hmac-sha256-tests | 1 + modules/crypto/hmac-sha512-tests | 1 + modules/crypto/md5-buffer | 1 + modules/crypto/md5-tests | 1 + modules/crypto/sha1-buffer | 1 + modules/crypto/sha1-tests | 1 + modules/crypto/sha256-buffer | 1 + modules/crypto/sha256-tests | 1 + modules/crypto/sha512-buffer | 1 + modules/crypto/sha512-tests | 1 + modules/diffseq | 1 + modules/fatal-signal | 1 + modules/fchmodat | 1 + modules/fstrcmp | 1 + modules/fsusage | 1 + modules/fts | 1 + modules/fts-tests | 1 + modules/getumask | 1 + modules/git-merge-changelog | 1 + modules/hash-map | 1 + modules/hash-set | 1 + modules/lchmod | 1 + modules/libgmp-tests | 1 + modules/libtextstyle-optional-tests | 1 + modules/linkedhash-map | 1 + modules/linkedhash-set | 1 + modules/long-options | 1 + modules/mbrtoc32 | 1 + modules/memchr2-tests | 1 + modules/memmem-tests | 1 + modules/memrchr-tests | 1 + modules/mktime-internal | 1 + modules/nstrftime | 1 + modules/opendirat | 1 + modules/parse-datetime | 1 + modules/quotearg-simple-tests | 1 + modules/same | 1 + modules/supersede | 1 + modules/supersede-tests | 1 + modules/time_rz | 1 + modules/unistr/u16-chr-tests | 1 + modules/unistr/u32-chr-tests | 1 + modules/unistr/u8-chr-tests | 1 + modules/xalloc | 1 + modules/xnanosleep | 1 + 56 files changed, 114 insertions(+) diff --git a/ChangeLog b/ChangeLog index 67ab9dd473..619e7c24fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,62 @@ +2020-09-05 Bruno Haible + + Use module 'c99' when needed for declaration-after-statement syntax. + * modules/backup-rename (Depends-on): Add c99. + * modules/backupfile (Depends-on): Likewise. + * modules/bitset-tests (Depends-on): Likewise. + * modules/bitsetv (Depends-on): Likewise. + * modules/c-strtod (Depends-on): Likewise. + * modules/c-strtold (Depends-on): Likewise. + * modules/clean-temp (Depends-on): Likewise. + * modules/copy-file (Depends-on): Likewise. + * modules/crypto/hmac-md5-tests (Depends-on): Likewise. + * modules/crypto/hmac-sha1-tests (Depends-on): Likewise. + * modules/crypto/hmac-sha256-tests (Depends-on): Likewise. + * modules/crypto/hmac-sha512-tests (Depends-on): Likewise. + * modules/crypto/md5-buffer (Depends-on): Likewise. + * modules/crypto/md5-tests (Depends-on): Likewise. + * modules/crypto/sha1-buffer (Depends-on): Likewise. + * modules/crypto/sha1-tests (Depends-on): Likewise. + * modules/crypto/sha256-buffer (Depends-on): Likewise. + * modules/crypto/sha256-tests (Depends-on): Likewise. + * modules/crypto/sha512-buffer (Depends-on): Likewise. + * modules/crypto/sha512-tests (Depends-on): Likewise. + * modules/diffseq (Depends-on): Likewise. + * modules/fatal-signal (Depends-on): Likewise. + * modules/fchmodat (Depends-on): Likewise. + * modules/fstrcmp (Depends-on): Likewise. + * modules/fsusage (Depends-on): Likewise. + * modules/fts (Depends-on): Likewise. + * modules/fts-tests (Depends-on): Likewise. + * modules/getumask (Depends-on): Likewise. + * modules/git-merge-changelog (Depends-on): Likewise. + * modules/hash-map (Depends-on): Likewise. + * modules/hash-set (Depends-on): Likewise. + * modules/lchmod (Depends-on): Likewise. + * modules/libgmp-tests (Depends-on): Likewise. + * modules/libtextstyle-optional-tests (Depends-on): Likewise. + * modules/linkedhash-map (Depends-on): Likewise. + * modules/linkedhash-set (Depends-on): Likewise. + * modules/long-options (Depends-on): Likewise. + * modules/mbrtoc32 (Depends-on): Likewise. + * modules/memchr2-tests (Depends-on): Likewise. + * modules/memmem-tests (Depends-on): Likewise. + * modules/memrchr-tests (Depends-on): Likewise. + * modules/mktime-internal (Depends-on): Likewise. + * modules/nstrftime (Depends-on): Likewise. + * modules/opendirat (Depends-on): Likewise. + * modules/parse-datetime (Depends-on): Likewise. + * modules/quotearg-simple-tests (Depends-on): Likewise. + * modules/same (Depends-on): Likewise. + * modules/supersede (Depends-on): Likewise. + * modules/supersede-tests (Depends-on): Likewise. + * modules/time_rz (Depends-on): Likewise. + * modules/unistr/u16-chr-tests (Depends-on): Likewise. + * modules/unistr/u32-chr-tests (Depends-on): Likewise. + * modules/unistr/u8-chr-tests (Depends-on): Likewise. + * modules/xalloc (Depends-on): Likewise. + * modules/xnanosleep (Depends-on): Likewise. + 2020-09-05 Bruno Haible Fix "warning: array initialized from parenthesized string constant". diff --git a/modules/backup-rename b/modules/backup-rename index be12c90fa7..cdc96e6f03 100644 --- a/modules/backup-rename +++ b/modules/backup-rename @@ -12,6 +12,7 @@ Depends-on: argmatch attribute basename-lgpl +c99 closedir d-ino dirent-safer diff --git a/modules/backupfile b/modules/backupfile index 76f223a237..2ca1e540e2 100644 --- a/modules/backupfile +++ b/modules/backupfile @@ -12,6 +12,7 @@ Depends-on: argmatch attribute basename-lgpl +c99 closedir d-ino dirent-safer diff --git a/modules/bitset-tests b/modules/bitset-tests index f9a0f907d9..bafd916d9a 100644 --- a/modules/bitset-tests +++ b/modules/bitset-tests @@ -3,6 +3,7 @@ tests/test-bitset.c tests/macros.h Depends-on: +c99 configure.ac: diff --git a/modules/bitsetv b/modules/bitsetv index 4b6c1a81b7..4d9be99015 100644 --- a/modules/bitsetv +++ b/modules/bitsetv @@ -7,6 +7,7 @@ lib/bitsetv.h Depends-on: bitset +c99 xalloc Makefile.am: diff --git a/modules/c-strtod b/modules/c-strtod index 71b292ee7f..a2741c5571 100644 --- a/modules/c-strtod +++ b/modules/c-strtod @@ -8,6 +8,7 @@ m4/c-strtod.m4 m4/intl-thread-locale.m4 Depends-on: +c99 extensions locale strdup-posix diff --git a/modules/c-strtold b/modules/c-strtold index c7f31dba11..f642a88952 100644 --- a/modules/c-strtold +++ b/modules/c-strtold @@ -9,6 +9,7 @@ m4/c-strtod.m4 m4/intl-thread-locale.m4 Depends-on: +c99 extensions locale strdup-posix diff --git a/modules/clean-temp b/modules/clean-temp index 69157a5746..2794b93f75 100644 --- a/modules/clean-temp +++ b/modules/clean-temp @@ -6,6 +6,7 @@ lib/clean-temp.h lib/clean-temp.c Depends-on: +c99 stdbool stdint unistd diff --git a/modules/copy-file b/modules/copy-file index 293ad6aa95..6140c72fa1 100644 --- a/modules/copy-file +++ b/modules/copy-file @@ -9,6 +9,7 @@ m4/copy-file.m4 Depends-on: acl-permissions binary-io +c99 close copy-file-range error diff --git a/modules/crypto/hmac-md5-tests b/modules/crypto/hmac-md5-tests index 7de2d59b9d..ddf20d94fb 100644 --- a/modules/crypto/hmac-md5-tests +++ b/modules/crypto/hmac-md5-tests @@ -2,6 +2,7 @@ Files: tests/test-hmac-md5.c Depends-on: +c99 configure.ac: diff --git a/modules/crypto/hmac-sha1-tests b/modules/crypto/hmac-sha1-tests index ae8a0df9c2..5606df6c41 100644 --- a/modules/crypto/hmac-sha1-tests +++ b/modules/crypto/hmac-sha1-tests @@ -2,6 +2,7 @@ Files: tests/test-hmac-sha1.c Depends-on: +c99 configure.ac: diff --git a/modules/crypto/hmac-sha256-tests b/modules/crypto/hmac-sha256-tests index c5483da80a..3f93819fc4 100644 --- a/modules/crypto/hmac-sha256-tests +++ b/modules/crypto/hmac-sha256-tests @@ -2,6 +2,7 @@ Files: tests/test-hmac-sha256.c Depends-on: +c99 configure.ac: diff --git a/modules/crypto/hmac-sha512-tests b/modules/crypto/hmac-sha512-tests index 877dd3bf42..7e36dfb5a5 100644 --- a/modules/crypto/hmac-sha512-tests +++ b/modules/crypto/hmac-sha512-tests @@ -2,6 +2,7 @@ Files: tests/test-hmac-sha512.c Depends-on: +c99 configure.ac: diff --git a/modules/crypto/md5-buffer b/modules/crypto/md5-buffer index fb5763e511..cd51cab2de 100644 --- a/modules/crypto/md5-buffer +++ b/modules/crypto/md5-buffer @@ -10,6 +10,7 @@ m4/md5.m4 Depends-on: byteswap +c99 extern-inline stdalign stdint diff --git a/modules/crypto/md5-tests b/modules/crypto/md5-tests index 177bd41231..c1160f13d1 100644 --- a/modules/crypto/md5-tests +++ b/modules/crypto/md5-tests @@ -6,6 +6,7 @@ tests/bench-digest.h tests/macros.h Depends-on: +c99 getrusage gettimeofday diff --git a/modules/crypto/sha1-buffer b/modules/crypto/sha1-buffer index 55a542065d..a934d4e06b 100644 --- a/modules/crypto/sha1-buffer +++ b/modules/crypto/sha1-buffer @@ -10,6 +10,7 @@ m4/sha1.m4 Depends-on: byteswap +c99 extern-inline stdalign stdint diff --git a/modules/crypto/sha1-tests b/modules/crypto/sha1-tests index b30d7e55f3..366e4aade7 100644 --- a/modules/crypto/sha1-tests +++ b/modules/crypto/sha1-tests @@ -6,6 +6,7 @@ tests/bench-digest.h tests/macros.h Depends-on: +c99 getrusage gettimeofday diff --git a/modules/crypto/sha256-buffer b/modules/crypto/sha256-buffer index 055275a38e..85529a342e 100644 --- a/modules/crypto/sha256-buffer +++ b/modules/crypto/sha256-buffer @@ -10,6 +10,7 @@ m4/sha256.m4 Depends-on: byteswap +c99 extern-inline stdalign stdint diff --git a/modules/crypto/sha256-tests b/modules/crypto/sha256-tests index 693b1bc0ff..fb9e06d70a 100644 --- a/modules/crypto/sha256-tests +++ b/modules/crypto/sha256-tests @@ -7,6 +7,7 @@ tests/bench-digest.h tests/macros.h Depends-on: +c99 getrusage gettimeofday diff --git a/modules/crypto/sha512-buffer b/modules/crypto/sha512-buffer index 7c5f64d64a..416a0b5202 100644 --- a/modules/crypto/sha512-buffer +++ b/modules/crypto/sha512-buffer @@ -10,6 +10,7 @@ m4/sha512.m4 Depends-on: byteswap +c99 extern-inline stdalign stdint diff --git a/modules/crypto/sha512-tests b/modules/crypto/sha512-tests index d448031c4f..fba9dc5388 100644 --- a/modules/crypto/sha512-tests +++ b/modules/crypto/sha512-tests @@ -7,6 +7,7 @@ tests/bench-digest.h tests/macros.h Depends-on: +c99 getrusage gettimeofday diff --git a/modules/diffseq b/modules/diffseq index 28ee8295b0..7591521ed9 100644 --- a/modules/diffseq +++ b/modules/diffseq @@ -5,6 +5,7 @@ Files: lib/diffseq.h Depends-on: +c99 configure.ac: diff --git a/modules/fatal-signal b/modules/fatal-signal index 7029687625..6c49f2b60f 100644 --- a/modules/fatal-signal +++ b/modules/fatal-signal @@ -8,6 +8,7 @@ m4/fatal-signal.m4 m4/sig_atomic_t.m4 Depends-on: +c99 xalloc stdbool unistd diff --git a/modules/fchmodat b/modules/fchmodat index 83e14abc98..975889b8c0 100644 --- a/modules/fchmodat +++ b/modules/fchmodat @@ -10,6 +10,7 @@ Depends-on: sys_stat extensions at-internal [test $HAVE_FCHMODAT = 0] +c99 [test $REPLACE_FCHMODAT = 1] errno [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1] extern-inline [test $HAVE_FCHMODAT = 0] fchdir [test $HAVE_FCHMODAT = 0] diff --git a/modules/fstrcmp b/modules/fstrcmp index 77de7a08dd..03804c942d 100644 --- a/modules/fstrcmp +++ b/modules/fstrcmp @@ -6,6 +6,7 @@ lib/fstrcmp.h lib/fstrcmp.c Depends-on: +c99 diffseq lock tls diff --git a/modules/fsusage b/modules/fsusage index ba85196167..b5344c4264 100644 --- a/modules/fsusage +++ b/modules/fsusage @@ -7,6 +7,7 @@ lib/fsusage.c m4/fsusage.m4 Depends-on: +c99 largefile stdbool stdint diff --git a/modules/fts b/modules/fts index b06d5b8321..4f49b88f8a 100644 --- a/modules/fts +++ b/modules/fts @@ -9,6 +9,7 @@ m4/fts.m4 Depends-on: attribute +c99 closedir cycle-check d-ino diff --git a/modules/fts-tests b/modules/fts-tests index 1a9dce0ce2..fc1e479231 100644 --- a/modules/fts-tests +++ b/modules/fts-tests @@ -5,6 +5,7 @@ Files: tests/test-fts.c Depends-on: +c99 errno remove unlinkat diff --git a/modules/getumask b/modules/getumask index 9f19a0e818..f7784dacb7 100644 --- a/modules/getumask +++ b/modules/getumask @@ -8,6 +8,7 @@ m4/getumask.m4 Depends-on: sys_stat extensions +c99 [test $HAVE_GETUMASK = 0] unistd [test $HAVE_GETUMASK = 0] clean-temp [test $HAVE_GETUMASK = 0] tempname [test $HAVE_GETUMASK = 0] diff --git a/modules/git-merge-changelog b/modules/git-merge-changelog index 64c472ce50..c58ddc7bd9 100644 --- a/modules/git-merge-changelog +++ b/modules/git-merge-changelog @@ -5,6 +5,7 @@ Files: lib/git-merge-changelog.c Depends-on: +c99 getopt-gnu stdbool stdlib diff --git a/modules/hash-map b/modules/hash-map index 63d72f43d3..cfe10067ee 100644 --- a/modules/hash-map +++ b/modules/hash-map @@ -12,6 +12,7 @@ Depends-on: map stdint xsize +c99 configure.ac: diff --git a/modules/hash-set b/modules/hash-set index 4d95e74548..62a0f1bb6f 100644 --- a/modules/hash-set +++ b/modules/hash-set @@ -12,6 +12,7 @@ Depends-on: set stdint xsize +c99 configure.ac: diff --git a/modules/lchmod b/modules/lchmod index ae67c03b65..dd887542f1 100644 --- a/modules/lchmod +++ b/modules/lchmod @@ -6,6 +6,7 @@ lib/lchmod.c m4/lchmod.m4 Depends-on: +c99 [test $HAVE_LCHMOD = 0] errno [test $HAVE_LCHMOD = 0] extensions fcntl-h [test $HAVE_LCHMOD = 0] diff --git a/modules/libgmp-tests b/modules/libgmp-tests index 94faf1cee6..a80c478c77 100644 --- a/modules/libgmp-tests +++ b/modules/libgmp-tests @@ -3,6 +3,7 @@ tests/macros.h tests/test-libgmp.c Depends-on: +c99 verify configure.ac: diff --git a/modules/libtextstyle-optional-tests b/modules/libtextstyle-optional-tests index 00d96b32e5..e930a00fbe 100644 --- a/modules/libtextstyle-optional-tests +++ b/modules/libtextstyle-optional-tests @@ -3,6 +3,7 @@ tests/test-libtextstyle.c tests/test-libtextstyle-default.css Depends-on: +c99 isatty configure.ac: diff --git a/modules/linkedhash-map b/modules/linkedhash-map index d495cb26e1..9cd87f966c 100644 --- a/modules/linkedhash-map +++ b/modules/linkedhash-map @@ -12,6 +12,7 @@ Depends-on: map stdint xsize +c99 configure.ac: diff --git a/modules/linkedhash-set b/modules/linkedhash-set index 2ee88c3035..f47a719c48 100644 --- a/modules/linkedhash-set +++ b/modules/linkedhash-set @@ -12,6 +12,7 @@ Depends-on: set stdint xsize +c99 configure.ac: diff --git a/modules/long-options b/modules/long-options index b845d42936..fc0b53eceb 100644 --- a/modules/long-options +++ b/modules/long-options @@ -6,6 +6,7 @@ lib/long-options.h lib/long-options.c Depends-on: +c99 exitfail getopt-gnu stdbool diff --git a/modules/mbrtoc32 b/modules/mbrtoc32 index e99c0f0a0f..2e5042a5bc 100644 --- a/modules/mbrtoc32 +++ b/modules/mbrtoc32 @@ -19,6 +19,7 @@ m4/visibility.m4 Depends-on: uchar attribute [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1] +c99 [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0] hard-locale [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0] mbrtowc [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0] localcharset [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1] diff --git a/modules/memchr2-tests b/modules/memchr2-tests index 66901aef93..cbd9cd22d0 100644 --- a/modules/memchr2-tests +++ b/modules/memchr2-tests @@ -5,6 +5,7 @@ tests/macros.h m4/mmap-anon.m4 Depends-on: +c99 extensions getpagesize diff --git a/modules/memmem-tests b/modules/memmem-tests index 250ccbf060..084ee1b9c3 100644 --- a/modules/memmem-tests +++ b/modules/memmem-tests @@ -6,6 +6,7 @@ tests/macros.h m4/mmap-anon.m4 Depends-on: +c99 extensions getpagesize diff --git a/modules/memrchr-tests b/modules/memrchr-tests index e3af277786..2b4a9bd4b0 100644 --- a/modules/memrchr-tests +++ b/modules/memrchr-tests @@ -6,6 +6,7 @@ tests/macros.h m4/mmap-anon.m4 Depends-on: +c99 extensions getpagesize diff --git a/modules/mktime-internal b/modules/mktime-internal index 1465c90dcd..40313d6215 100644 --- a/modules/mktime-internal +++ b/modules/mktime-internal @@ -6,6 +6,7 @@ lib/mktime-internal.h lib/mktime.c Depends-on: +c99 mktime configure.ac: diff --git a/modules/nstrftime b/modules/nstrftime index 9db0c75217..64e255cdec 100644 --- a/modules/nstrftime +++ b/modules/nstrftime @@ -9,6 +9,7 @@ m4/nstrftime.m4 Depends-on: attribute +c99 errno extensions intprops diff --git a/modules/opendirat b/modules/opendirat index 2e1798f637..17542ff4fa 100644 --- a/modules/opendirat +++ b/modules/opendirat @@ -6,6 +6,7 @@ lib/opendirat.c lib/opendirat.h Depends-on: +c99 dirent fcntl-h fdopendir diff --git a/modules/parse-datetime b/modules/parse-datetime index fb49ebb353..14675194eb 100644 --- a/modules/parse-datetime +++ b/modules/parse-datetime @@ -10,6 +10,7 @@ m4/parse-datetime.m4 Depends-on: bison +c99 c-ctype stdbool gettime diff --git a/modules/quotearg-simple-tests b/modules/quotearg-simple-tests index 5470dfe3af..dbbd94e712 100644 --- a/modules/quotearg-simple-tests +++ b/modules/quotearg-simple-tests @@ -6,6 +6,7 @@ tests/zerosize-ptr.h m4/mmap-anon.m4 Depends-on: +c99 stdint configure.ac: diff --git a/modules/same b/modules/same index f4926be005..979cdcd5b8 100644 --- a/modules/same +++ b/modules/same @@ -8,6 +8,7 @@ lib/same.c m4/same.m4 Depends-on: +c99 error dirname fstat diff --git a/modules/supersede b/modules/supersede index cf6e196389..b01ca5277e 100644 --- a/modules/supersede +++ b/modules/supersede @@ -7,6 +7,7 @@ lib/supersede.c m4/supersede.m4 Depends-on: +c99 fcntl-h sys_stat clean-temp diff --git a/modules/supersede-tests b/modules/supersede-tests index 811d8f679b..932cd2ce5a 100644 --- a/modules/supersede-tests +++ b/modules/supersede-tests @@ -5,6 +5,7 @@ tests/test-supersede-fopen.h tests/macros.h Depends-on: +c99 mkdtemp filenamecat write diff --git a/modules/time_rz b/modules/time_rz index 0285add121..699a61d56f 100644 --- a/modules/time_rz +++ b/modules/time_rz @@ -18,6 +18,7 @@ lib/time_rz.c m4/time_rz.m4 Depends-on: +c99 extensions time flexmember [test $HAVE_TIMEZONE_T = 0] diff --git a/modules/unistr/u16-chr-tests b/modules/unistr/u16-chr-tests index cd274d69c6..d6bf77197f 100644 --- a/modules/unistr/u16-chr-tests +++ b/modules/unistr/u16-chr-tests @@ -6,6 +6,7 @@ tests/macros.h m4/mmap-anon.m4 Depends-on: +c99 extensions getpagesize unistr/u16-set diff --git a/modules/unistr/u32-chr-tests b/modules/unistr/u32-chr-tests index 3dccee72e3..81fc8d78b3 100644 --- a/modules/unistr/u32-chr-tests +++ b/modules/unistr/u32-chr-tests @@ -6,6 +6,7 @@ tests/macros.h m4/mmap-anon.m4 Depends-on: +c99 extensions getpagesize unistr/u32-set diff --git a/modules/unistr/u8-chr-tests b/modules/unistr/u8-chr-tests index 9b015a3dcd..7b0bf8d4f9 100644 --- a/modules/unistr/u8-chr-tests +++ b/modules/unistr/u8-chr-tests @@ -6,6 +6,7 @@ tests/macros.h m4/mmap-anon.m4 Depends-on: +c99 extensions getpagesize unistr/u8-set diff --git a/modules/xalloc b/modules/xalloc index b107da93bb..c6e3cfd9de 100644 --- a/modules/xalloc +++ b/modules/xalloc @@ -7,6 +7,7 @@ lib/xmalloc.c m4/xalloc.m4 Depends-on: +c99 extern-inline stdint xalloc-die diff --git a/modules/xnanosleep b/modules/xnanosleep index cc9069cb25..9f12ff3205 100644 --- a/modules/xnanosleep +++ b/modules/xnanosleep @@ -7,6 +7,7 @@ lib/xnanosleep.c m4/xnanosleep.m4 Depends-on: +c99 dtotimespec intprops nanosleep -- 2.39.5