tests: add signature checks
authorEric Blake <ebb9@byu.net>
Tue, 22 Dec 2009 17:57:14 +0000 (10:57 -0700)
committerEric Blake <ebb9@byu.net>
Thu, 24 Dec 2009 13:25:00 +0000 (06:25 -0700)
These tests will help catch problems similar to the one recently
fixed for cygwin declaring getsubopt and symlinkat in the wrong header.

* tests/signature.h (SIGNATURE_CHECK): New file.
* modules/atexit-tests (Files): Use it.
* modules/btowc-tests (Files): Likewise.
* modules/canonicalize-lgpl-tests (Files): Likewise.
* modules/ceilf-tests (Files): Likewise.
* modules/ceill-tests (Files): Likewise.
* modules/chown-tests (Files): Likewise.
* modules/dprintf-posix-tests (Files): Likewise.
* modules/dup2-tests (Files): Likewise.
* modules/dup3-tests (Files): Likewise.
* modules/duplocale-tests (Files): Likewise.
* modules/fchdir-tests (Files): Likewise.
* modules/fcntl-tests (Files): Likewise.
* modules/fdopendir-tests (Files): Likewise.
* modules/fflush-tests (Files): Likewise.
* modules/flock-tests (Files): Likewise.
* modules/floorf-tests (Files): Likewise.
* modules/floorl-tests (Files): Likewise.
* modules/fnmatch-tests (Files): Likewise.
* modules/fopen-tests (Files): Likewise.
* modules/fprintf-posix-tests (Files): Likewise.
* modules/freopen-tests (Files): Likewise.
* modules/frexp-nolibm-tests (Files): Likewise.
* modules/frexp-tests (Files): Likewise.
* modules/frexpl-nolibm-tests (Files): Likewise.
* modules/frexpl-tests (Files): Likewise.
* modules/fseek-tests (Files): Likewise.
* modules/fseeko-tests (Files): Likewise.
* modules/fsync-tests (Files): Likewise.
* modules/ftell-tests (Files): Likewise.
* modules/ftello-tests (Files): Likewise.
* modules/futimens-tests (Files): Likewise.
* modules/getaddrinfo-tests (Files): Likewise.
* modules/getcwd-tests (Files): Likewise.
* modules/getdelim-tests (Files): Likewise.
* modules/getdtablesize-tests (Files): Likewise.
* modules/getgroups-tests (Files): Likewise.
* modules/gethostname-tests (Files): Likewise.
* modules/getline-tests (Files): Likewise.
* modules/getopt-posix-tests (Files): Likewise.
* modules/gettimeofday-tests (Files): Likewise.
* modules/glob-tests (Files): Likewise.
* modules/iconv-tests (Files): Likewise.
* modules/inet_ntop-tests (Files): Likewise.
* modules/inet_pton-tests (Files): Likewise.
* modules/isblank-tests (Files): Likewise.
* modules/lchown-tests (Files): Likewise.
* modules/ldexpl-tests (Files): Likewise.
* modules/link-tests (Files): Likewise.
* modules/linkat-tests (Files): Likewise.
* modules/lseek-tests (Files): Likewise.
* modules/lstat-tests (Files): Likewise.
* modules/mbrtowc-tests (Files): Likewise.
* modules/mbsinit-tests (Files): Likewise.
* modules/mbsnrtowcs-tests (Files): Likewise.
* modules/mbsrtowcs-tests (Files): Likewise.
* modules/memchr-tests (Files): Likewise.
* modules/memcmp-tests (Files): Likewise.
* modules/memmem-tests (Files): Likewise.
* modules/memrchr-tests (Files): Likewise.
* modules/mkdir-tests (Files): Likewise.
* modules/mkfifo-tests (Files): Likewise.
* modules/mkfifoat-tests (Files): Likewise.
* modules/mknod-tests (Files): Likewise.
* modules/nanosleep-tests (Files): Likewise.
* modules/nl_langinfo-tests (Files): Likewise.
* modules/obstack-printf-tests (Files): Likewise.
* modules/open-tests (Files): Likewise.
* modules/openat-tests (Files): Likewise.
* modules/perror-tests (Files): Likewise.
* modules/pipe2-tests (Files): Likewise.
* modules/poll-tests (Files): Likewise.
* modules/popen-tests (Files): Likewise.
* modules/posix_spawn-tests (Files): Likewise.
* modules/posix_spawnp-tests (Files): Likewise.
* modules/pread-tests (Files): Likewise.
* modules/printf-posix-tests (Files): Likewise.
* modules/pty-tests (Files): Likewise.
* modules/random_r-tests (Files): Likewise.
* modules/rawmemchr-tests (Files): Likewise.
* modules/readlink-tests (Files): Likewise.
* modules/remove-tests (Files): Likewise.
* modules/rename-tests (Files): Likewise.
* modules/renameat-tests (Files): Likewise.
* modules/rmdir-tests (Files): Likewise.
* modules/round-tests (Files): Likewise.
* modules/roundf-tests (Files): Likewise.
* modules/roundl-tests (Files): Likewise.
* modules/select-tests (Files): Likewise.
* modules/setenv-tests (Files): Likewise.
* modules/sigaction-tests (Files): Likewise.
* modules/sleep-tests (Files): Likewise.
* modules/snprintf-posix-tests (Files): Likewise.
* modules/snprintf-tests (Files): Likewise.
* modules/sprintf-posix-tests (Files): Likewise.
* modules/stat-tests (Files): Likewise.
* modules/strcasestr-tests (Files): Likewise.
* modules/strchrnul-tests (Files): Likewise.
* modules/strerror-tests (Files): Likewise.
* modules/strsignal-tests (Files): Likewise.
* modules/strstr-tests (Files): Likewise.
* modules/strtod-tests (Files): Likewise.
* modules/strverscmp-tests (Files): Likewise.
* modules/symlink-tests (Files): Likewise.
* modules/symlinkat-tests (Files): Likewise.
* modules/times-tests (Files): Likewise.
* modules/trunc-tests (Files): Likewise.
* modules/truncf-tests (Files): Likewise.
* modules/truncl-tests (Files): Likewise.
* modules/tsearch-tests (Files): Likewise.
* modules/uname-tests (Files): Likewise.
* modules/unlink-tests (Files): Likewise.
* modules/unsetenv-tests (Files): Likewise.
* modules/usleep-tests (Files): Likewise.
* modules/utimensat-tests (Files): Likewise.
* modules/vasprintf-tests (Files): Likewise.
* modules/vdprintf-posix-tests (Files): Likewise.
* modules/vfprintf-posix-tests (Files): Likewise.
* modules/vprintf-posix-tests (Files): Likewise.
* modules/vsnprintf-posix-tests (Files): Likewise.
* modules/vsnprintf-tests (Files): Likewise.
* modules/vsprintf-posix-tests (Files): Likewise.
* modules/wcrtomb-tests (Files): Likewise.
* modules/wcsnrtombs-tests (Files): Likewise.
* modules/wcsrtombs-tests (Files): Likewise.
* modules/wcwidth-tests (Files): Likewise.
* tests/test-isfinite.c (isfinite): Ensure macro declaration.
* tests/test-isinf.c (isinf): Likewise.
* tests/test-isnan.c (isnan): Likewise.
* tests/test-signbit.c (signbit): Likewise.
* tests/test-select.c (FD_CLR, FD_ISSET, FD_SET, FD_ZERO): Ensure
declaration, either as macro or with correct signature.
(select): Ensure function under test is declared with correct
signature in correct header.
* tests/test-atexit.c (atexit): Likewise.
* tests/test-btowc.c (btowc): Likewise.
* tests/test-canonicalize-lgpl.c (realpath)
(canonicalize_file_name): Likewise.
* tests/test-ceilf1.c (ceilf): Likewise.
* tests/test-ceill.c (ceill): Likewise.
* tests/test-chown.c (chown): Likewise.
* tests/test-dprintf-posix.c (dprintf): Likewise.
* tests/test-dup2.c (dup2): Likewise.
* tests/test-dup3.c (dup3): Likewise.
* tests/test-duplocale.c (duplocale): Likewise.
* tests/test-fchdir.c (fchdir): Likewise.
* tests/test-fchownat.c (fchownat): Likewise.
* tests/test-fcntl.c (fcntl): Likewise.
* tests/test-fdopendir.c (fdopendir): Likewise.
* tests/test-fflush.c (fflush): Likewise.
* tests/test-flock.c (flock): Likewise.
* tests/test-floorf1.c (floorf): Likewise.
* tests/test-floorl.c (floorl): Likewise.
* tests/test-fnmatch.c (fnmatch): Likewise.
* tests/test-fopen.c (fopen): Likewise.
* tests/test-fprintf-posix.c (fprintf): Likewise.
* tests/test-freopen.c (freopen): Likewise.
* tests/test-frexp.c (frexp): Likewise.
* tests/test-frexpl.c (frexpl): Likewise.
* tests/test-fseek.c (fseek): Likewise.
* tests/test-fseeko.c (fseeko): Likewise.
* tests/test-fstatat.c (fstatat): Likewise.
* tests/test-fsync.c (fsync): Likewise.
* tests/test-ftell.c (ftell): Likewise.
* tests/test-ftello.c (ftello): Likewise.
* tests/test-futimens.c (futimens): Likewise.
* tests/test-getaddrinfo.c (getaddrinfo, freeaddrinfo)
(gai_strerror): Likewise.
* tests/test-getcwd.c (getcwd): Likewise.
* tests/test-getdelim.c (getdelim): Likewise.
* tests/test-getdtablesize.c (getdtablesize): Likewise.
* tests/test-getgroups.c (getgroups): Likewise.
* tests/test-gethostname.c (gethostname): Likewise.
* tests/test-getline.c (getline): Likewise.
* tests/test-getopt.c (getopt, getopt_long, getopt_long_only):
Likewise.
* tests/test-gettimeofday.c (gettimeofday): Likewise.
* tests/test-glob.c (glob, globfree): Likewise.
* tests/test-iconv.c (iconv, iconv_open, iconv_close): Likewise.
* tests/test-inet_ntop.c (inet_ntop): Likewise.
* tests/test-inet_pton.c (inet_pton): Likewise.
* tests/test-isblank.c (isblank): Likewise.
* tests/test-lchown.c (lchown): Likewise.
* tests/test-ldexpl.c (ldexpl): Likewise.
* tests/test-link.c (link): Likewise.
* tests/test-linkat.c (linkat): Likewise.
* tests/test-lseek.c (lseek): Likewise.
* tests/test-lstat.c (lstat): Likewise.
* tests/test-mbrtowc.c (mbrtowc): Likewise.
* tests/test-mbsinit.c (mbsinit): Likewise.
* tests/test-mbsnrtowcs.c (mbsnrtowcs): Likewise.
* tests/test-mbsrtowcs.c (mbsrtowcs): Likewise.
* tests/test-memchr.c (memchr): Likewise.
* tests/test-memcmp.c (memcmp): Likewise.
* tests/test-memmem.c (memmem): Likewise.
* tests/test-memrchr.c (memrchr): Likewise.
* tests/test-mkdir.c (mkdir): Likewise.
* tests/test-mkdirat.c (mkdirat): Likewise.
* tests/test-mkfifo.c (mkfifo): Likewise.
* tests/test-mkfifoat.c (mkfifoat, mknodat): Likewise.
* tests/test-mknod.c (mknod): Likewise.
* tests/test-nanosleep.c (nanosleep): Likewise.
* tests/test-nl_langinfo.c (nl_langinfo): Likewise.
* tests/test-obstack-printf.c (obstack_printf, obstack_vprintf):
Likewise.
* tests/test-open.c (open): Likewise.
* tests/test-openat.c (openat): Likewise.
* tests/test-perror.c (perror): Likewise.
* tests/test-pipe2.c (pipe2): Likewise.
* tests/test-poll.c (poll): Likewise.
* tests/test-popen.c (popen, pclose): Likewise.
* tests/test-posix_spawn1.c (posix_spawnp, posix_spawnattr_init)
(posix_spawnattr_destroy, posix_spawnattr_setsigmask)
(posix_spawnattr_setflags, posix_spawn_file_actions_init)
(posix_spawn_file_actions_destroy)
(posix_spawn_file_actions_addclose)
(posix_spawn_file_actions_addopen)
(posix_spawn_file_actions_adddup2): Likewise.
* tests/test-posix_spawn3.c (posix_spawn): Likewise.
* tests/test-pread.c (pread): Likewise.
* tests/test-printf-posix.c (printf): Likewise.
* tests/test-pty.c (openpty, forkpty): Likewise.
* tests/test-random_r.c (srandom_r, initstate_r, setstate_r)
(random_r): Likewise.
* tests/test-rawmemchr.c (rawmemchr): Likewise.
* tests/test-readlink.c (readlink): Likewise.
* tests/test-remove.c (remove): Likewise.
* tests/test-rename.c (rename): Likewise.
* tests/test-renameat.c (renameat): Likewise.
* tests/test-rmdir.c (rmdir): Likewise.
* tests/test-round1.c (round): Likewise.
* tests/test-roundf1.c (roundf): Likewise.
* tests/test-roundl.c (roundl): Likewise.
* tests/test-setenv.c (setenv): Likewise.
* tests/test-sigaction.c (sigaction): Likewise.
* tests/test-sleep.c (sleep): Likewise.
* tests/test-snprintf.c (snprintf): Likewise.
* tests/test-sprintf-posix.c (sprintf): Likewise.
* tests/test-stat.c (stat): Likewise.
* tests/test-stpncpy.c (stpncpy): Likewise.
* tests/test-strcasestr.c (strcasestr): Likewise.
* tests/test-strchrnul.c (strchrnul): Likewise.
* tests/test-strerror.c (strerror): Likewise.
* tests/test-strsignal.c (strsignal): Likewise.
* tests/test-strstr.c (strstr): Likewise.
* tests/test-strtod.c (strtod): Likewise.
* tests/test-strverscmp.c (strverscmp): Likewise.
* tests/test-symlink.c (symlink): Likewise.
* tests/test-symlinkat.c (symlinkat, readlinkat): Likewise.
* tests/test-times.c (times): Likewise.
* tests/test-trunc1.c (trunc): Likewise.
* tests/test-truncf1.c (truncf): Likewise.
* tests/test-truncl.c (truncl): Likewise.
* tests/test-tsearch.c (tdelete, tfind, tsearch, twalk):
Likewise.
* tests/test-uname.c (uname): Likewise.
* tests/test-unlink.c (unlink): Likewise.
* tests/test-unlinkat.c (unlinkat): Likewise.
* tests/test-unsetenv.c (unsetenv): Likewise.
* tests/test-usleep.c (usleep): Likewise.
* tests/test-utimensat.c (utimensat): Likewise.
* tests/test-vasprintf.c (asprintf, vasprintf): Likewise.
* tests/test-vdprintf-posix.c (vdprintf): Likewise.
* tests/test-vfprintf-posix.c (vfprintf): Likewise.
* tests/test-vprintf-posix.c (vprintf): Likewise.
* tests/test-vsnprintf.c (vsnprintf): Likewise.
* tests/test-vsprintf-posix.c (vsprintf): Likewise.
* tests/test-wcrtomb.c (wcrtomb): Likewise.
* tests/test-wcsnrtombs.c (wcsnrtombs): Likewise.
* tests/test-wcsrtombs.c (wcsrtombs): Likewise.
* tests/test-wcwidth.c (wcwidth): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
257 files changed:
ChangeLog
modules/atexit-tests
modules/btowc-tests
modules/canonicalize-lgpl-tests
modules/ceilf-tests
modules/ceill-tests
modules/chown-tests
modules/dprintf-posix-tests
modules/dup2-tests
modules/dup3-tests
modules/duplocale-tests
modules/fchdir-tests
modules/fcntl-tests
modules/fdopendir-tests
modules/fflush-tests
modules/flock-tests
modules/floorf-tests
modules/floorl-tests
modules/fnmatch-tests
modules/fopen-tests
modules/fprintf-posix-tests
modules/freopen-tests
modules/frexp-nolibm-tests
modules/frexp-tests
modules/frexpl-nolibm-tests
modules/frexpl-tests
modules/fseek-tests
modules/fseeko-tests
modules/fsync-tests
modules/ftell-tests
modules/ftello-tests
modules/futimens-tests
modules/getaddrinfo-tests
modules/getcwd-tests
modules/getdelim-tests
modules/getdtablesize-tests
modules/getgroups-tests
modules/gethostname-tests
modules/getline-tests
modules/getopt-posix-tests
modules/gettimeofday-tests
modules/glob-tests
modules/iconv-tests
modules/inet_ntop-tests
modules/inet_pton-tests
modules/isblank-tests
modules/lchown-tests
modules/ldexpl-tests
modules/link-tests
modules/linkat-tests
modules/lseek-tests
modules/lstat-tests
modules/mbrtowc-tests
modules/mbsinit-tests
modules/mbsnrtowcs-tests
modules/mbsrtowcs-tests
modules/memchr-tests
modules/memcmp-tests
modules/memmem-tests
modules/memrchr-tests
modules/mkdir-tests
modules/mkfifo-tests
modules/mkfifoat-tests
modules/mknod-tests
modules/nanosleep-tests
modules/nl_langinfo-tests
modules/obstack-printf-tests
modules/open-tests
modules/openat-tests
modules/perror-tests
modules/pipe2-tests
modules/poll-tests
modules/popen-tests
modules/posix_spawn-tests
modules/posix_spawnp-tests
modules/pread-tests
modules/printf-posix-tests
modules/pty-tests
modules/random_r-tests
modules/rawmemchr-tests
modules/readlink-tests
modules/remove-tests
modules/rename-tests
modules/renameat-tests
modules/rmdir-tests
modules/round-tests
modules/roundf-tests
modules/roundl-tests
modules/select-tests
modules/setenv-tests
modules/sigaction-tests
modules/sleep-tests
modules/snprintf-posix-tests
modules/snprintf-tests
modules/sprintf-posix-tests
modules/stat-tests
modules/strcasestr-tests
modules/strchrnul-tests
modules/strerror-tests
modules/strsignal-tests
modules/strstr-tests
modules/strtod-tests
modules/strverscmp-tests
modules/symlink-tests
modules/symlinkat-tests
modules/times-tests
modules/trunc-tests
modules/truncf-tests
modules/truncl-tests
modules/tsearch-tests
modules/uname-tests
modules/unlink-tests
modules/unsetenv-tests
modules/usleep-tests
modules/utimensat-tests
modules/vasprintf-tests
modules/vdprintf-posix-tests
modules/vfprintf-posix-tests
modules/vprintf-posix-tests
modules/vsnprintf-posix-tests
modules/vsnprintf-tests
modules/vsprintf-posix-tests
modules/wcrtomb-tests
modules/wcsnrtombs-tests
modules/wcsrtombs-tests
modules/wcwidth-tests
tests/signature.h [new file with mode: 0644]
tests/test-atexit.c
tests/test-btowc.c
tests/test-canonicalize-lgpl.c
tests/test-ceilf1.c
tests/test-ceill.c
tests/test-chown.c
tests/test-dprintf-posix.c
tests/test-dup2.c
tests/test-dup3.c
tests/test-duplocale.c
tests/test-fchdir.c
tests/test-fchownat.c
tests/test-fcntl.c
tests/test-fdopendir.c
tests/test-fflush.c
tests/test-flock.c
tests/test-floorf1.c
tests/test-floorl.c
tests/test-fnmatch.c
tests/test-fopen.c
tests/test-fprintf-posix.c
tests/test-freopen.c
tests/test-frexp.c
tests/test-frexpl.c
tests/test-fseek.c
tests/test-fseeko.c
tests/test-fstatat.c
tests/test-fsync.c
tests/test-ftell.c
tests/test-ftello.c
tests/test-futimens.c
tests/test-getaddrinfo.c
tests/test-getcwd.c
tests/test-getdelim.c
tests/test-getdtablesize.c
tests/test-getgroups.c
tests/test-gethostname.c
tests/test-getline.c
tests/test-getopt.c
tests/test-gettimeofday.c
tests/test-glob.c
tests/test-iconv.c
tests/test-inet_ntop.c
tests/test-inet_pton.c
tests/test-isblank.c
tests/test-isfinite.c
tests/test-isinf.c
tests/test-isnan.c
tests/test-lchown.c
tests/test-ldexpl.c
tests/test-link.c
tests/test-linkat.c
tests/test-lseek.c
tests/test-lstat.c
tests/test-mbrtowc.c
tests/test-mbsinit.c
tests/test-mbsnrtowcs.c
tests/test-mbsrtowcs.c
tests/test-memchr.c
tests/test-memcmp.c
tests/test-memmem.c
tests/test-memrchr.c
tests/test-mkdir.c
tests/test-mkdirat.c
tests/test-mkfifo.c
tests/test-mkfifoat.c
tests/test-mknod.c
tests/test-nanosleep.c
tests/test-nl_langinfo.c
tests/test-obstack-printf.c
tests/test-open.c
tests/test-openat.c
tests/test-perror.c
tests/test-pipe2.c
tests/test-poll.c
tests/test-popen.c
tests/test-posix_spawn1.c
tests/test-posix_spawn3.c
tests/test-pread.c
tests/test-printf-posix.c
tests/test-pty.c
tests/test-random_r.c
tests/test-rawmemchr.c
tests/test-readlink.c
tests/test-remove.c
tests/test-rename.c
tests/test-renameat.c
tests/test-rmdir.c
tests/test-round1.c
tests/test-roundf1.c
tests/test-roundl.c
tests/test-select.c
tests/test-setenv.c
tests/test-sigaction.c
tests/test-signbit.c
tests/test-sleep.c
tests/test-snprintf.c
tests/test-sprintf-posix.c
tests/test-stat.c
tests/test-stpncpy.c
tests/test-strcasestr.c
tests/test-strchrnul.c
tests/test-strerror.c
tests/test-strsignal.c
tests/test-strstr.c
tests/test-strtod.c
tests/test-strverscmp.c
tests/test-symlink.c
tests/test-symlinkat.c
tests/test-times.c
tests/test-trunc1.c
tests/test-truncf1.c
tests/test-truncl.c
tests/test-tsearch.c
tests/test-uname.c
tests/test-unlink.c
tests/test-unlinkat.c
tests/test-unsetenv.c
tests/test-usleep.c
tests/test-utimensat.c
tests/test-vasprintf.c
tests/test-vdprintf-posix.c
tests/test-vfprintf-posix.c
tests/test-vprintf-posix.c
tests/test-vsnprintf.c
tests/test-vsprintf-posix.c
tests/test-wcrtomb.c
tests/test-wcsnrtombs.c
tests/test-wcsrtombs.c
tests/test-wcwidth.c

index 43bf844e5890e9fa002289e23bcba779b00ee696..3cca24c258a69e12887cf78dd0150ec1546be051 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,278 @@
 2009-12-24  Eric Blake  <ebb9@byu.net>
 
+       tests: add signature checks
+       * tests/signature.h (SIGNATURE_CHECK): New file.
+       * modules/atexit-tests (Files): Use it.
+       * modules/btowc-tests (Files): Likewise.
+       * modules/canonicalize-lgpl-tests (Files): Likewise.
+       * modules/ceilf-tests (Files): Likewise.
+       * modules/ceill-tests (Files): Likewise.
+       * modules/chown-tests (Files): Likewise.
+       * modules/dprintf-posix-tests (Files): Likewise.
+       * modules/dup2-tests (Files): Likewise.
+       * modules/dup3-tests (Files): Likewise.
+       * modules/duplocale-tests (Files): Likewise.
+       * modules/fchdir-tests (Files): Likewise.
+       * modules/fcntl-tests (Files): Likewise.
+       * modules/fdopendir-tests (Files): Likewise.
+       * modules/fflush-tests (Files): Likewise.
+       * modules/flock-tests (Files): Likewise.
+       * modules/floorf-tests (Files): Likewise.
+       * modules/floorl-tests (Files): Likewise.
+       * modules/fnmatch-tests (Files): Likewise.
+       * modules/fopen-tests (Files): Likewise.
+       * modules/fprintf-posix-tests (Files): Likewise.
+       * modules/freopen-tests (Files): Likewise.
+       * modules/frexp-nolibm-tests (Files): Likewise.
+       * modules/frexp-tests (Files): Likewise.
+       * modules/frexpl-nolibm-tests (Files): Likewise.
+       * modules/frexpl-tests (Files): Likewise.
+       * modules/fseek-tests (Files): Likewise.
+       * modules/fseeko-tests (Files): Likewise.
+       * modules/fsync-tests (Files): Likewise.
+       * modules/ftell-tests (Files): Likewise.
+       * modules/ftello-tests (Files): Likewise.
+       * modules/futimens-tests (Files): Likewise.
+       * modules/getaddrinfo-tests (Files): Likewise.
+       * modules/getcwd-tests (Files): Likewise.
+       * modules/getdelim-tests (Files): Likewise.
+       * modules/getdtablesize-tests (Files): Likewise.
+       * modules/getgroups-tests (Files): Likewise.
+       * modules/gethostname-tests (Files): Likewise.
+       * modules/getline-tests (Files): Likewise.
+       * modules/getopt-posix-tests (Files): Likewise.
+       * modules/gettimeofday-tests (Files): Likewise.
+       * modules/glob-tests (Files): Likewise.
+       * modules/iconv-tests (Files): Likewise.
+       * modules/inet_ntop-tests (Files): Likewise.
+       * modules/inet_pton-tests (Files): Likewise.
+       * modules/isblank-tests (Files): Likewise.
+       * modules/lchown-tests (Files): Likewise.
+       * modules/ldexpl-tests (Files): Likewise.
+       * modules/link-tests (Files): Likewise.
+       * modules/linkat-tests (Files): Likewise.
+       * modules/lseek-tests (Files): Likewise.
+       * modules/lstat-tests (Files): Likewise.
+       * modules/mbrtowc-tests (Files): Likewise.
+       * modules/mbsinit-tests (Files): Likewise.
+       * modules/mbsnrtowcs-tests (Files): Likewise.
+       * modules/mbsrtowcs-tests (Files): Likewise.
+       * modules/memchr-tests (Files): Likewise.
+       * modules/memcmp-tests (Files): Likewise.
+       * modules/memmem-tests (Files): Likewise.
+       * modules/memrchr-tests (Files): Likewise.
+       * modules/mkdir-tests (Files): Likewise.
+       * modules/mkfifo-tests (Files): Likewise.
+       * modules/mkfifoat-tests (Files): Likewise.
+       * modules/mknod-tests (Files): Likewise.
+       * modules/nanosleep-tests (Files): Likewise.
+       * modules/nl_langinfo-tests (Files): Likewise.
+       * modules/obstack-printf-tests (Files): Likewise.
+       * modules/open-tests (Files): Likewise.
+       * modules/openat-tests (Files): Likewise.
+       * modules/perror-tests (Files): Likewise.
+       * modules/pipe2-tests (Files): Likewise.
+       * modules/poll-tests (Files): Likewise.
+       * modules/popen-tests (Files): Likewise.
+       * modules/posix_spawn-tests (Files): Likewise.
+       * modules/posix_spawnp-tests (Files): Likewise.
+       * modules/pread-tests (Files): Likewise.
+       * modules/printf-posix-tests (Files): Likewise.
+       * modules/pty-tests (Files): Likewise.
+       * modules/random_r-tests (Files): Likewise.
+       * modules/rawmemchr-tests (Files): Likewise.
+       * modules/readlink-tests (Files): Likewise.
+       * modules/remove-tests (Files): Likewise.
+       * modules/rename-tests (Files): Likewise.
+       * modules/renameat-tests (Files): Likewise.
+       * modules/rmdir-tests (Files): Likewise.
+       * modules/round-tests (Files): Likewise.
+       * modules/roundf-tests (Files): Likewise.
+       * modules/roundl-tests (Files): Likewise.
+       * modules/select-tests (Files): Likewise.
+       * modules/setenv-tests (Files): Likewise.
+       * modules/sigaction-tests (Files): Likewise.
+       * modules/sleep-tests (Files): Likewise.
+       * modules/snprintf-posix-tests (Files): Likewise.
+       * modules/snprintf-tests (Files): Likewise.
+       * modules/sprintf-posix-tests (Files): Likewise.
+       * modules/stat-tests (Files): Likewise.
+       * modules/strcasestr-tests (Files): Likewise.
+       * modules/strchrnul-tests (Files): Likewise.
+       * modules/strerror-tests (Files): Likewise.
+       * modules/strsignal-tests (Files): Likewise.
+       * modules/strstr-tests (Files): Likewise.
+       * modules/strtod-tests (Files): Likewise.
+       * modules/strverscmp-tests (Files): Likewise.
+       * modules/symlink-tests (Files): Likewise.
+       * modules/symlinkat-tests (Files): Likewise.
+       * modules/times-tests (Files): Likewise.
+       * modules/trunc-tests (Files): Likewise.
+       * modules/truncf-tests (Files): Likewise.
+       * modules/truncl-tests (Files): Likewise.
+       * modules/tsearch-tests (Files): Likewise.
+       * modules/uname-tests (Files): Likewise.
+       * modules/unlink-tests (Files): Likewise.
+       * modules/unsetenv-tests (Files): Likewise.
+       * modules/usleep-tests (Files): Likewise.
+       * modules/utimensat-tests (Files): Likewise.
+       * modules/vasprintf-tests (Files): Likewise.
+       * modules/vdprintf-posix-tests (Files): Likewise.
+       * modules/vfprintf-posix-tests (Files): Likewise.
+       * modules/vprintf-posix-tests (Files): Likewise.
+       * modules/vsnprintf-posix-tests (Files): Likewise.
+       * modules/vsnprintf-tests (Files): Likewise.
+       * modules/vsprintf-posix-tests (Files): Likewise.
+       * modules/wcrtomb-tests (Files): Likewise.
+       * modules/wcsnrtombs-tests (Files): Likewise.
+       * modules/wcsrtombs-tests (Files): Likewise.
+       * modules/wcwidth-tests (Files): Likewise.
+       * tests/test-isfinite.c (isfinite): Ensure macro declaration.
+       * tests/test-isinf.c (isinf): Likewise.
+       * tests/test-isnan.c (isnan): Likewise.
+       * tests/test-signbit.c (signbit): Likewise.
+       * tests/test-select.c (FD_CLR, FD_ISSET, FD_SET, FD_ZERO): Ensure
+       declaration, either as macro or with correct signature.
+       (select): Ensure function under test is declared with correct
+       signature in correct header.
+       * tests/test-atexit.c (atexit): Likewise.
+       * tests/test-btowc.c (btowc): Likewise.
+       * tests/test-canonicalize-lgpl.c (realpath)
+       (canonicalize_file_name): Likewise.
+       * tests/test-ceilf1.c (ceilf): Likewise.
+       * tests/test-ceill.c (ceill): Likewise.
+       * tests/test-chown.c (chown): Likewise.
+       * tests/test-dprintf-posix.c (dprintf): Likewise.
+       * tests/test-dup2.c (dup2): Likewise.
+       * tests/test-dup3.c (dup3): Likewise.
+       * tests/test-duplocale.c (duplocale): Likewise.
+       * tests/test-fchdir.c (fchdir): Likewise.
+       * tests/test-fchownat.c (fchownat): Likewise.
+       * tests/test-fcntl.c (fcntl): Likewise.
+       * tests/test-fdopendir.c (fdopendir): Likewise.
+       * tests/test-fflush.c (fflush): Likewise.
+       * tests/test-flock.c (flock): Likewise.
+       * tests/test-floorf1.c (floorf): Likewise.
+       * tests/test-floorl.c (floorl): Likewise.
+       * tests/test-fnmatch.c (fnmatch): Likewise.
+       * tests/test-fopen.c (fopen): Likewise.
+       * tests/test-fprintf-posix.c (fprintf): Likewise.
+       * tests/test-freopen.c (freopen): Likewise.
+       * tests/test-frexp.c (frexp): Likewise.
+       * tests/test-frexpl.c (frexpl): Likewise.
+       * tests/test-fseek.c (fseek): Likewise.
+       * tests/test-fseeko.c (fseeko): Likewise.
+       * tests/test-fstatat.c (fstatat): Likewise.
+       * tests/test-fsync.c (fsync): Likewise.
+       * tests/test-ftell.c (ftell): Likewise.
+       * tests/test-ftello.c (ftello): Likewise.
+       * tests/test-futimens.c (futimens): Likewise.
+       * tests/test-getaddrinfo.c (getaddrinfo, freeaddrinfo)
+       (gai_strerror): Likewise.
+       * tests/test-getcwd.c (getcwd): Likewise.
+       * tests/test-getdelim.c (getdelim): Likewise.
+       * tests/test-getdtablesize.c (getdtablesize): Likewise.
+       * tests/test-getgroups.c (getgroups): Likewise.
+       * tests/test-gethostname.c (gethostname): Likewise.
+       * tests/test-getline.c (getline): Likewise.
+       * tests/test-getopt.c (getopt, getopt_long, getopt_long_only):
+       Likewise.
+       * tests/test-gettimeofday.c (gettimeofday): Likewise.
+       * tests/test-glob.c (glob, globfree): Likewise.
+       * tests/test-iconv.c (iconv, iconv_open, iconv_close): Likewise.
+       * tests/test-inet_ntop.c (inet_ntop): Likewise.
+       * tests/test-inet_pton.c (inet_pton): Likewise.
+       * tests/test-isblank.c (isblank): Likewise.
+       * tests/test-lchown.c (lchown): Likewise.
+       * tests/test-ldexpl.c (ldexpl): Likewise.
+       * tests/test-link.c (link): Likewise.
+       * tests/test-linkat.c (linkat): Likewise.
+       * tests/test-lseek.c (lseek): Likewise.
+       * tests/test-lstat.c (lstat): Likewise.
+       * tests/test-mbrtowc.c (mbrtowc): Likewise.
+       * tests/test-mbsinit.c (mbsinit): Likewise.
+       * tests/test-mbsnrtowcs.c (mbsnrtowcs): Likewise.
+       * tests/test-mbsrtowcs.c (mbsrtowcs): Likewise.
+       * tests/test-memchr.c (memchr): Likewise.
+       * tests/test-memcmp.c (memcmp): Likewise.
+       * tests/test-memmem.c (memmem): Likewise.
+       * tests/test-memrchr.c (memrchr): Likewise.
+       * tests/test-mkdir.c (mkdir): Likewise.
+       * tests/test-mkdirat.c (mkdirat): Likewise.
+       * tests/test-mkfifo.c (mkfifo): Likewise.
+       * tests/test-mkfifoat.c (mkfifoat, mknodat): Likewise.
+       * tests/test-mknod.c (mknod): Likewise.
+       * tests/test-nanosleep.c (nanosleep): Likewise.
+       * tests/test-nl_langinfo.c (nl_langinfo): Likewise.
+       * tests/test-obstack-printf.c (obstack_printf, obstack_vprintf):
+       Likewise.
+       * tests/test-open.c (open): Likewise.
+       * tests/test-openat.c (openat): Likewise.
+       * tests/test-perror.c (perror): Likewise.
+       * tests/test-pipe2.c (pipe2): Likewise.
+       * tests/test-poll.c (poll): Likewise.
+       * tests/test-popen.c (popen, pclose): Likewise.
+       * tests/test-posix_spawn1.c (posix_spawnp, posix_spawnattr_init)
+       (posix_spawnattr_destroy, posix_spawnattr_setsigmask)
+       (posix_spawnattr_setflags, posix_spawn_file_actions_init)
+       (posix_spawn_file_actions_destroy)
+       (posix_spawn_file_actions_addclose)
+       (posix_spawn_file_actions_addopen)
+       (posix_spawn_file_actions_adddup2): Likewise.
+       * tests/test-posix_spawn3.c (posix_spawn): Likewise.
+       * tests/test-pread.c (pread): Likewise.
+       * tests/test-printf-posix.c (printf): Likewise.
+       * tests/test-pty.c (openpty, forkpty): Likewise.
+       * tests/test-random_r.c (srandom_r, initstate_r, setstate_r)
+       (random_r): Likewise.
+       * tests/test-rawmemchr.c (rawmemchr): Likewise.
+       * tests/test-readlink.c (readlink): Likewise.
+       * tests/test-remove.c (remove): Likewise.
+       * tests/test-rename.c (rename): Likewise.
+       * tests/test-renameat.c (renameat): Likewise.
+       * tests/test-rmdir.c (rmdir): Likewise.
+       * tests/test-round1.c (round): Likewise.
+       * tests/test-roundf1.c (roundf): Likewise.
+       * tests/test-roundl.c (roundl): Likewise.
+       * tests/test-setenv.c (setenv): Likewise.
+       * tests/test-sigaction.c (sigaction): Likewise.
+       * tests/test-sleep.c (sleep): Likewise.
+       * tests/test-snprintf.c (snprintf): Likewise.
+       * tests/test-sprintf-posix.c (sprintf): Likewise.
+       * tests/test-stat.c (stat): Likewise.
+       * tests/test-stpncpy.c (stpncpy): Likewise.
+       * tests/test-strcasestr.c (strcasestr): Likewise.
+       * tests/test-strchrnul.c (strchrnul): Likewise.
+       * tests/test-strerror.c (strerror): Likewise.
+       * tests/test-strsignal.c (strsignal): Likewise.
+       * tests/test-strstr.c (strstr): Likewise.
+       * tests/test-strtod.c (strtod): Likewise.
+       * tests/test-strverscmp.c (strverscmp): Likewise.
+       * tests/test-symlink.c (symlink): Likewise.
+       * tests/test-symlinkat.c (symlinkat, readlinkat): Likewise.
+       * tests/test-times.c (times): Likewise.
+       * tests/test-trunc1.c (trunc): Likewise.
+       * tests/test-truncf1.c (truncf): Likewise.
+       * tests/test-truncl.c (truncl): Likewise.
+       * tests/test-tsearch.c (tdelete, tfind, tsearch, twalk):
+       Likewise.
+       * tests/test-uname.c (uname): Likewise.
+       * tests/test-unlink.c (unlink): Likewise.
+       * tests/test-unlinkat.c (unlinkat): Likewise.
+       * tests/test-unsetenv.c (unsetenv): Likewise.
+       * tests/test-usleep.c (usleep): Likewise.
+       * tests/test-utimensat.c (utimensat): Likewise.
+       * tests/test-vasprintf.c (asprintf, vasprintf): Likewise.
+       * tests/test-vdprintf-posix.c (vdprintf): Likewise.
+       * tests/test-vfprintf-posix.c (vfprintf): Likewise.
+       * tests/test-vprintf-posix.c (vprintf): Likewise.
+       * tests/test-vsnprintf.c (vsnprintf): Likewise.
+       * tests/test-vsprintf-posix.c (vsprintf): Likewise.
+       * tests/test-wcrtomb.c (wcrtomb): Likewise.
+       * tests/test-wcsnrtombs.c (wcsnrtombs): Likewise.
+       * tests/test-wcsrtombs.c (wcsrtombs): Likewise.
+       * tests/test-wcwidth.c (wcwidth): Likewise.
+
        build: pull in conditional headers during GNULIB_POSIXCHECK
        * lib/stdio.in.h (includes): Using GNULIB_POSIXCHECK also requires
        definitions from any conditionally-included headers.
index 8ad8189adcc35f27b2d3f55c51a5be0f877ca3b9..15de834c7c579852d8bfd2c47cbdd2c5e51ab2ce 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-atexit.sh
 tests/test-atexit.c
 
index b6980dd20c0630674f7f21b4680f144c9ab339cb..c5e73ce7ecdfb4a762be3231c8dbdd9de215cfe2 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-btowc1.sh
 tests/test-btowc2.sh
 tests/test-btowc.c
index 39c348440095cddc0f77b01028abd5775664a789..5ddb1998cdf67e0a2aa31a9c0c5f72d2de1ed2f3 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-canonicalize-lgpl.c
 
 Depends-on:
index 8653c4760e2b584f9fbafb50410f2fac2cfd108a..2599ab11c32b0f8416ae10fcc66be383217615be 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-ceilf1.c
 tests/test-ceilf2.c
 tests/nan.h
index ab10141d206f138c8472266fe8bba2c51f6cbda9..0d5f0fd1fe5a0b8d38e285f35f82af3275c5a7eb 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-ceill.c
 tests/nan.h
 
index d1add611c1d4597ea8ab8981b791ba9656ef8307..a320328fa8d0d6d6ac8e7d4c170b7ef4bc95588b 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/nap.h
 tests/test-chown.h
 tests/test-chown.c
index 652f2893d37319fc7f12b7f82f4ec93085d53289..5b865ce8bfdcd8313c6526412e0fa365104bfc8f 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-dprintf-posix.sh
 tests/test-dprintf-posix.c
 tests/test-printf-posix.output
index b02e2a23d776434ccc3932532f7a19bf7f6f3ac2..b24ef675f22ee8b5ae3a11eb55d764f48451eea7 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-dup2.c
 
 Depends-on:
index 3f4d96fa5d4dea9568023839ea1e89cd467945a1..2886d60fae4a641bf0a0020b841057f11c60d3d3 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-dup3.c
 
 Depends-on:
index 61812b88d4f3691313c63edf5fe69afc5e2e5569..f0e9064ce0b8ab60e30068248ad102ca6870b408 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-duplocale.c
 
 Depends-on:
index f3bb8b2378aa73871cd3f1e137b8e06a5f6f7647..2e202f369652aa59ad95cc62af8a61ea07fa219d 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fchdir.c
 
 Depends-on:
index e81a5e9584f9395d6ab7fc88f6e04e26e9dcb157..e47f2d6399c9d3af2a4db9fc6d628f7801694fda 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fcntl.c
 
 Depends-on:
index 9df5e293ad64da6486eccd0770000c423e0798bb..c0bafb6c130a2e42576a3e6fea733cd06c9ac468 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fdopendir.c
 
 Depends-on:
index da29805b884900092ca1e39935de8d2247943bf2..db5a5c0167cfa6beb1bc934ca770dc934865429a 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fflush.c
 tests/test-fflush2.sh
 tests/test-fflush2.c
index b546594bed2924a67250ff2be8905f537136691f..441e23e66669012c0b5ecde48f10c7cacbbc1cba 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-flock.c
 
 Depends-on:
index e3f2b03fa5eabb1309f29bec0882ac69c00bc380..d6a8185c8585e51a81c63ab0dc33eb0d86410780 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-floorf1.c
 tests/test-floorf2.c
 tests/nan.h
index ca7c7461fadea1296f475d0d2217282c5e550ab3..10310923df0e15849fbb1446bb15ffc872188bfe 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-floorl.c
 tests/nan.h
 
index f11bfa934ead033d05bae3e35fb3d811f3a00499..c83b905be7218fbefc76ed61bef0f1465b534bc6 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fnmatch.c
 
 Makefile.am:
index fb0ee1d6a4bc2daa0927f2fd2d0483fd351f9ec4..208ec3b2e12f772e3e62ec2afbdcda3c67b4a9da 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fopen.h
 tests/test-fopen.c
 
index a2eb7c903d9d3cf65b7abad8dfdceb0b444cb94a..4ac9a12ca716ea01c7ab099b62ed4ee864ccc638 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fprintf-posix.sh
 tests/test-fprintf-posix.c
 tests/test-fprintf-posix.h
index dd232cf25536c35d0f894d9b6ed1c9a85b9a4499..0f9ae2142d4f8cc2762f99e1822fe17461d34e7d 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-freopen.c
 
 Depends-on:
index ae57fb42cfc0435dc0772485903b3c274eaad56c..acbfec7098c352a475ede2d0db0e4a0e1996e142 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-frexp.c
 
 Depends-on:
index eee00fd02c75a756b5eb075c49db553575ccf3bb..e90189bbd1c3871459df571b6a00afb5d3202d8c 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-frexp.c
 tests/nan.h
 
index 316d40c74bf1a31c2f26d6076c0f7b1611ae0874..85799561b8f4c46cbd9e635369843428acc8aa10 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-frexpl.c
 
 Depends-on:
index f5505b45d95d7dc8992df1555d262d087405c21d..5382cec73a0a56f4a6566738bae01cac4bf8b662 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-frexpl.c
 tests/nan.h
 
index 7f10d48a108c9b466bd0be7339a82e82cc859aa1..cd76a95dcd21ab370a5eedbc525c631cfcd2aedb 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fseek.c
 tests/test-fseek.sh
 tests/test-fseek2.sh
index b01ed581507bbba96d5c6e37b2e9a3d3a8bb55db..e2fb27ed5e2bb28d5a75df14443a6299532140be 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fseeko.c
 tests/test-fseeko.sh
 tests/test-fseeko2.sh
index c407dc2cfeea10e20339ab16f74b322b4135a39c..a3db419190ad8b2237459c55c2d85d85eb98425c 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-fsync.c
 
 Depends-on:
index ce5f479369fc8842342f3eb228c9b14a03e1c5a3..717b48edd58c3cb9a7765ca83a2696aa7cb8e5bc 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-ftell.c
 tests/test-ftell.sh
 tests/test-ftell2.sh
index cc7f46e27a39e81f880be9257b9491128909ccc0..c4937d07608ebf528cd98b7118f6e889e7fc3cf5 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-ftello.c
 tests/test-ftello.sh
 tests/test-ftello2.sh
index c768c330de63135af0d6f8f658668fe6e60f3ca0..702dbc26168ecf56ce6b9b938b60347891c9b025 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/nap.h
 tests/test-futimens.h
 tests/test-utimens-common.h
index a21fe6fa0f5296477e0bbe6b8ff3bc13e48c38b1..688d1f1bb54f1403a0dfb4bd514ed39f2b1c28af 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-getaddrinfo.c
 
 Depends-on:
index d7eee2b421f66b9f760aacc144cbb0689eb8289b..75897cbe19c4c6812b0820df21d96677f2bd7209 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-getcwd.c
 
 Depends-on:
index 33e04e38ac97c0a2fe042bf91ed2b7c0ce00727b..880c380acce4bd741427ccca8ba54e405bd6837e 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-getdelim.c
 
 Depends-on:
index d4c4af447c0f37019a24e5c5a16884fcad8f8804..8bf1a2cc2e791482e312728190aa3e2d70bd0815 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-getdtablesize.c
 
 Depends-on:
index 2a526213155b500528dcba9997039ea8712b7204..69e264742898714e029731300dc0a733e3df277d 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-getgroups.c
 
 Depends-on:
index ea17aba2d91f3ae54fdff0fce8ad87de8ba43e20..2d2d537de5eebc8dc674f7f8241c041bcbf782bd 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-gethostname.c
 
 Depends-on:
index dae21bec92b82b4c0161be791e4813871b10ac31..676a04f207ee0c3ebe15a8ef42b94053174c2446 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-getline.c
 
 Depends-on:
index b2e372753a9b3350862f130397d976503053e9e0..438b6e4c1d307fc53cac64592e90356101c55aea 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-getopt.c
 tests/test-getopt.h
 tests/test-getopt_long.h
index 6c2cef57b8a90f6c9525a7671d7fa6f601e8587c..996df8e71646332dbadf78b71ac6fb84b25e09ae 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-gettimeofday.c
 
 Depends-on:
index f1b5c383b6fe883c224a89fd2fdbd83ef93d5850..bedaef014a4e75819530e058841b2b9568e3f7d7 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-glob.c
 
 Makefile.am:
index 47381d45b2a4d4713aeb92a4d9f3f1adcbcb6228..46fcb1a128c3b9d3aa1bf40c87d09fed20d975c0 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-iconv.c
 
 Depends-on:
index fcb36e65ae0908604117217aaab460c977cef7e6..e8236d6e03e209cc38cb2a1568d6a02d9daf7180 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-inet_ntop.c
 
 Depends-on:
index 6ad5fec7784d8cb47c4e44faec83539231bf99bb..1404e31f29e88795543f549bb96e3a105b2e41a6 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-inet_pton.c
 
 Depends-on:
index be5fbee13dc61072793d084c0b873e5eacec21d0..cd140ee334fae26ab89d2c51202cfd8439c73877 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-isblank.c
 
 Depends-on:
index 7e4d5027226f40a48761364ec0a0bee5837fb256..4fc7eaf87c2ce2acd09e0a80abcca0357d3134df 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/nap.h
 tests/test-lchown.h
 tests/test-lchown.c
index 0b1ba0490d6184a792affed5ccb9f6d0a9920cdb..7b76ff403cf59395bba32fc1da5a2437c70eb840 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-ldexpl.c
 tests/nan.h
 
index d8e7b1a2d5bcfbacd68729bdac376e8425910ebd..2bdb3eefb4cbd09eeba98e261d9070d9fde7f067 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-link.h
 tests/test-link.c
 
index 1f9aafae2f8873512e48db19f1cbcee2074b1ae5..72e8a51ff0329761a7745c226d3c399c03cfcb7b 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-link.h
 tests/test-linkat.c
 
index 5f0a4f2462999003972e892e77e469834ef91d66..6b05a92eb8372b6073b9d2b08c85513b90d6112c 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-lseek.c
 tests/test-lseek.sh
 
index 1a34c34f28b5c02d0863ca118ea537d1e4801d48..43ebd9429ed31013702c4c66ee0572ded7bb6e4c 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-lstat.h
 tests/test-lstat.c
 
index 0fbd8b19b641fd3ac77d7ecc75a9d7c5fad8ce7a..0237acaf7a7a23119d29a881703c950a2ca7de4c 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-mbrtowc1.sh
 tests/test-mbrtowc2.sh
 tests/test-mbrtowc3.sh
index 9dead7d9b070d1b71678cad5aba7fca76d2ce88e..24777f965043c4a931a98e5532e1ef28ce956cd1 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-mbsinit.sh
 tests/test-mbsinit.c
 m4/locale-fr.m4
index 2f9f2cb3ebb23f29f765a2531538313617dc80f6..ceb54796d0ead3b59f644037118bfea062d25481 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-mbsnrtowcs1.sh
 tests/test-mbsnrtowcs2.sh
 tests/test-mbsnrtowcs3.sh
index ead9965bab755145c8b27b09b47d224176d87c6d..7b65531a06b231d07401596c004ea574adbc17c1 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-mbsrtowcs1.sh
 tests/test-mbsrtowcs2.sh
 tests/test-mbsrtowcs3.sh
index 32cdd6d0021874d8dbfebb0723811bcacb2d05a1..79d6f48b39238e3eaf98c49bfebbf8ece58a0657 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-memchr.c
 tests/zerosize-ptr.h
 
index 3f536d756c947f134d9b485cad0dbbf7d03b2237..33d740d5c6a3c50869de8aeffdc5db325c772034 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-memcmp.c
 tests/zerosize-ptr.h
 m4/mmap-anon.m4
index 45ef99181e01eb87159801037ac5893f7b1562ac..88301edd264229017bf8c6d1c1476a5dc30e0689 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-memmem.c
 tests/zerosize-ptr.h
 m4/mmap-anon.m4
index 967f92b03bde612bcd58cd27db91b8464cbbb661..d5bc773297c9c5233e1f9548d8a88a12aa30966b 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-memrchr.c
 tests/zerosize-ptr.h
 m4/mmap-anon.m4
index 4d5a9c2d556d7e6b80e2f074fb3a7b43574ec306..5f22b238f56296edd49ed82f1fe58a902ab3097f 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-mkdir.h
 tests/test-mkdir.c
 
index 87d6ce204abbdc8825472f803e0047a2eb90b0a5..d3d08873686423f9f5cac396c094b783a320b969 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-mkfifo.h
 tests/test-mkfifo.c
 
index 730ac85467707a803ec020ad5d7919f5c15bb8fa..ea8c4149b6925d92b705a61fec4e7bd8c8b82498 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-mkfifo.h
 tests/test-mkfifoat.c
 
index 9ee444537517fb5c368ff9a3c2897ca371040c64..3f4bbab9202168fb3704d7b00fa77f2e652cc301 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-mkfifo.h
 tests/test-mknod.c
 
index 67e6d4ee83ace3af010be017685ad20134e17e19..ddc57c158a8d71badf31fd57f62fb1272846110e 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-nanosleep.c
 
 Depends-on:
index 89356294d76ff30de8367a1c8a820be13dc85248..7c9ce97532ba02146fbcfbd6864c9e90b4e96ed0 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-nl_langinfo.sh
 tests/test-nl_langinfo.c
 m4/locale-fr.m4
index c06be7d722109cdd27c20a1c2319cbf076abbae2..8bff6bdcaba1a17deffdab225cee7451ff9c7faa 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-obstack-printf.c
 
 Depends-on:
index 16d4a99ec823bd4376bee10d3638996f025e9d66..cb8affba4f0770809f2f74103c29b36633fb8d88 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-open.h
 tests/test-open.c
 
index 7265fd9822ca58491d647c71439093911ef88880..a3a08ac96b8cbc085c48648d35f075454864ba5d 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/nap.h
 tests/test-chown.h
 tests/test-lchown.h
index 52d30bd82c255cab3f1053b190baa7dfedcafbba..ca9a921a1f441c90d743082e1b665d12bdef64a1 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-perror.c
 tests/test-perror.sh
 
index 4d5e624bdded242a6249aa6410db28a9e1f7e9f6..7ed4c871429ccb6386fabb92efdbba1bb90cd96f 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-pipe2.c
 
 Depends-on:
index 5f90f97785ea1726c80927d6f1325b8d01543703..1655fab14f393b1cf4ce4ab3e3c7f132718c0f3e 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-poll.c
 
 Depends-on:
index 9d22fca5b52b6aec9d88d58925baa20b42074fad..c0d128cbd53e8adb79afcd8443053fbcdcf48a94 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-popen.h
 tests/test-popen.c
 
index fc62cea81345c09ef101be54e44c4027e672b312..8a4055debc5e532150cb276660100489e59941ba 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-posix_spawn3.c
 
 Depends-on:
index f63fe4d8069bc0afb2adec9d077571b148e63896..61d0ba4bfec25f1a0da50aae4adc9cf815cf83ee 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-posix_spawn1.c
 tests/test-posix_spawn1.in.sh
 tests/test-posix_spawn2.c
index 9b2a94ab2f764886e78dcf70337acca38ce18435..415f9b9f7a58219ee3f97baaebb7000d72369ab4 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-pread.c
 tests/test-pread.sh
 tests/init.sh
index 30ced6297012f12405d4be76d2e4c33d474016a7..dfbb5e1603b64cad6cb94993576182ae2341142c 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-printf-posix.sh
 tests/test-printf-posix.c
 tests/test-printf-posix.h
index 981ae1846b0534020a5cf1691ea57f4c73f91043..870d5182f78b729fdf193fc9cb481cf2a8feabbb 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-pty.c
 
 Makefile.am:
index 814b150a243697e3da9372216c3937e611565890..72f54c0c37099817dd070de2b4ddc2427a92ad5a 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-random_r.c
 
 Depends-on:
index dd1a6e60df3126b2873ab785817ee419eedcd387..a638459949b02ca964ffd614f1d80b2e2dbf4678 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-rawmemchr.c
 
 Depends-on:
index 84cc326a0cbf15c267fb934c693954af3919b8c4..efadd0c1b2e44d3d60a3e85bf8c430f4d03d2778 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-readlink.h
 tests/test-readlink.c
 
index 665ebe4350c897eb261dc7c80d093da5acace0ad..ecdbcf30dfa7b3024364e8ff38a0a84da8486fdf 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-remove.c
 
 Depends-on:
index be1b42386fe1e3c72f963dcabe7c8523077759c7..52b69e2d025632d52cd897c880de8ab89d1bba25 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-rename.h
 tests/test-rename.c
 
index 399ff08f309d5becabec832f9d80ee7173c1df4a..982a8efe2266fd436792cc2fe5f3add7057749cc 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-rename.h
 tests/test-renameat.c
 
index 0fa5efee9e8d798c73e483f9339f31ddc784a420..59b1211b724ec34f794605b4ee13ffebdb6b1715 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-rmdir.h
 tests/test-rmdir.c
 
index 909910c95df620fe48139d56fc9bfa3fc341e080..79fe048fd2f9f1a6ba566ffa7d5c5272ec44c88b 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-round1.c
 tests/test-round2.c
 tests/nan.h
index c1ae0de5cdc189396374bd8f6be2d8ca3fa935de..56baa29e5d4a3a98a97059f0ae2c75e833ec2dc1 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-roundf1.c
 tests/test-round2.c
 tests/test-roundf2.c
index 442c279c767a1d379e020dbd093a50a7bcc53e70..0375176b1abb8b4f2a12df43349fd8a1208398d9 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-roundl.c
 tests/nan.h
 
index afa68fe6f4e067982a778ade5afc35e101b813ef..89415d5ad5b271a1942a793ae3cc0083bd77aa91 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-select.c
 tests/test-select-fd.c
 tests/test-select-in.sh
index 9c923ac926959f6d472a422d46234d62f09a6b7a..09ebf6f3e40e4660170cad04736731a32e12a237 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-setenv.c
 
 Depends-on:
index 5084e9e3ffcc4e8b96a67876a0fe245b3ba8e5e2..6589ef4d708236ec60ecadb0d7362ad6559007c9 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-sigaction.c
 
 Depends-on:
index 0871d5117cf02314c1eba158980a2bbbc741f1fe..7e975b7c37dcb7c41ebc9222503906e4b647faf6 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-sleep.c
 
 Depends-on:
index f3c08c717407a0c8f2863c30a5318e631367c3b0..0658ea48b13f2f0aa100e6837c017bebc7e8bd15 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-snprintf-posix.c
 tests/test-snprintf-posix.h
 tests/test-snprintf.c
index 638c9d94524eabb7f3063fc4b913a9d7927e5469..4db5f4ac84da668cca7e6d99a4de609df4eef160 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-snprintf.c
 
 Depends-on:
index 7ed1fb5da9a70777c508489cc512a095fd3401d8..354cf738f5f44a565d50e17c8eb38cb4420098b5 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-sprintf-posix.c
 tests/test-sprintf-posix.h
 tests/nan.h
index eb81446a012e4b157e779e67f99c0fb28038384e..489ff648238aeeabbde922809e45fe971761b1d1 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-stat.h
 tests/test-stat.c
 
index e5262cca637a9dfb429859141b0f7db30dca9c6a..292c40d812df35db89c8e2b093a23f51f519434e 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-strcasestr.c
 
 Depends-on:
index 642a93f1a4310a2522bbf0cfa8983cce2b6651a0..7ca1a58f243143a37d48ce1d552af6ffdcf624ae 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-strchrnul.c
 
 Depends-on:
index 0341c12c51a996cf5c3abf5c96f635c88206c9ec..0a6bc75cd9029a872ddc4571032f18642153af4b 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-strerror.c
 
 Depends-on:
index 2fa709d042105b0db9307f187e7079186fc11f58..330a8a951ef1414a7e213810d3cbb399a12050d9 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-strsignal.c
 
 Depends-on:
index 8f09e58f5b212e19a72f821c08afcccd207c7f32..231e0ebf33722e08d2530b6fbbfc39aed08e4a9e 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-strstr.c
 tests/zerosize-ptr.h
 m4/mmap-anon.m4
index e40a274d6fb7e98e1f13aaf9e272e3c2045b7c12..ad5a560dbf5355f951c3a336bae49fbf732a8af6 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-strtod.c
 
 Depends-on:
index 343df258ff8cc5515060dad4393da6fd92476ea7..89b6795b97f06d686bf2db3019422ac8c662c6ad 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-strverscmp.c
 
 Depends-on:
index 9858ade2a3efcebe40b13db941686182eeb372ab..ef18d47fd61e0405eb732a8939d19458112d200a 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-symlink.h
 tests/test-symlink.c
 
index a0dab9f53a122dd42eab329577323f68ea7e9611..4368537699beea3991aea997d6f14ef4d42f8ba4 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-readlink.h
 tests/test-symlink.h
 tests/test-symlinkat.c
index 838eac00134c692dba627eb1d92bd39fce874709..3d90f1a604cc4ae835bd60f53f4e5d89acaca009 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-times.c
 
 Makefile.am:
index f986e3c09a5f0296223a7ac71da1403f459ccc2f..c3d5243e59d081fddf0734e6a2a65dd80ca59f48 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-trunc1.c
 tests/test-trunc2.c
 tests/nan.h
index 0f56e7f4e90a48a57a99910888131609877039ce..70ecb1f620cb03592378bec771b41fc5a128dbcf 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-truncf1.c
 tests/test-truncf2.c
 tests/nan.h
index 7ffc1cde68239fd2ce32e6b425d38ab0e4736f61..3d92508fa7515e91ed26476276a3f2eb9866d59c 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-truncl.c
 tests/nan.h
 
index b038c6af53e37da6479dc1972030406198c3f507..bc30be5104566ab052e1271c87e89af4a1ab4c31 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-tsearch.sh
 tests/test-tsearch.c
 
index 1a3ee1ff9bc242262ea3e8149e7478aaf9fc1d74..89d256c3816faaa486db95970ee9cc5a3ec6a38a 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-uname.c
 
 Depends-on:
index b9be842240024dcca27c28b61743189e55574e63..d9c82ebc979775810fb3518447eabf25e1d70e41 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-unlink.h
 tests/test-unlink.c
 
index 94fc504ae5206df2f577ee4668503b29f8cea1e1..fddee906ac5bd28ebbed6ba97e13eccc1be89f8f 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-unsetenv.c
 
 Depends-on:
index 762d64426d69a41d14bf0b78ff80797821b80062..59d9c17cb50461fe4d6bffd973fd7502c789489c 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-usleep.c
 
 Depends-on:
index a56bb3e1897df9debd72f7666c9eb6c9d8c635c2..46ae1335542afe9284e6037dfa0e38e264f2d6a1 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/nap.h
 tests/test-lutimens.h
 tests/test-utimens.h
index cfd7ddc5a64b5d164dad564369901071fd6ae89c..0fd058a1b9567ca0efe8cc4a3090d93e5febb565 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-vasprintf.c
 
 Depends-on:
index 221417c6fa13f17ba03c7d513b9ac1a61264f381..aa1c015ead3e4697113186284082a2851ea25be0 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-vdprintf-posix.sh
 tests/test-vdprintf-posix.c
 tests/test-fprintf-posix.h
index 52c62f8aff391c84b0e807022572cf7035aaf785..5423720106f5fd3878a01e4c0bc4cc9b99427140 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-vfprintf-posix.sh
 tests/test-vfprintf-posix.c
 tests/test-fprintf-posix.h
index 071b7a005262543f6870d07a2da17bfe61c531e7..408948fc4350726e4c3e6610b0893de6fd7385db 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-vprintf-posix.sh
 tests/test-vprintf-posix.c
 tests/test-printf-posix.h
index f099bd6ce18ed31e919b0c80f14bbd6ade7bd79e..816b2a984a5a78db91400a5d9222cf49358ee42b 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-vsnprintf-posix.c
 tests/test-snprintf-posix.h
 tests/test-vsnprintf.c
index f92689f9a7bfb2022bea5beed97d3a1770384931..4322d7b359174c0ff03d99334254c5ed992da2c8 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-vsnprintf.c
 
 Depends-on:
index 2d052e9ac9ecd800b524a22f02923f230eae0ba7..54a6cd5be8f568700d077dd19b93e40c43db1475 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-vsprintf-posix.c
 tests/test-sprintf-posix.h
 tests/nan.h
index a730eff980c19a4ba0547016a4f8b8a9ad932b9a..885c6c1912e0b2ce73d173a91a4c8077e6fb7bcc 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-wcrtomb.sh
 tests/test-wcrtomb.c
 m4/locale-fr.m4
index d77e3befe94de6636cabe804bc8546031e2c59fa..f18bda91877e3147c9256027efa9af5f3c23e713 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-wcsnrtombs1.sh
 tests/test-wcsnrtombs2.sh
 tests/test-wcsnrtombs3.sh
index 98fbbfd3ec37ae7b8f48a21845b35b02dfad0621..68ab421e042491b0f3425dcb3acd39feb9aba311 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-wcsrtombs1.sh
 tests/test-wcsrtombs2.sh
 tests/test-wcsrtombs3.sh
index 956072f60354a7a5ebc12186c87e6c37526fbd2a..f12cc6ecdfe8089b4b79f33623ca2c7d10d31165 100644 (file)
@@ -1,4 +1,5 @@
 Files:
+tests/signature.h
 tests/test-wcwidth.c
 
 Depends-on:
diff --git a/tests/signature.h b/tests/signature.h
new file mode 100644 (file)
index 0000000..bf1bb86
--- /dev/null
@@ -0,0 +1,48 @@
+/* Macro for checking that a function declaration is compliant.
+   Copyright (C) 2009 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#ifndef SIGNATURE_CHECK
+
+/* Check that the function FN takes the specified arguments ARGS with
+   a return type of RET.  This header is designed to be included after
+   <config.h> and the one system header that is supposed to contain
+   the function being checked, but prior to any other system headers
+   that are necessary for the unit test.  Therefore, this file does
+   not include any system headers, nor reference anything outside of
+   the macro arguments.  For an example, if foo.h should provide:
+
+   extern int foo (char, float);
+
+   then the unit test named test-foo.c would start out with:
+
+   #include <config.h>
+   #include <foo.h>
+   #include "signature.h"
+   SIGNATURE_CHECK (foo, int, (char, float));
+   #include <other.h>
+   ...
+*/
+# define SIGNATURE_CHECK(fn, ret, args) \
+  SIGNATURE_CHECK1 (fn, ret, args, __LINE__)
+
+/* Necessary to allow multiple SIGNATURE_CHECK lines in a unit test.
+   Note that the checks must not occupy the same line.  */
+# define SIGNATURE_CHECK1(fn, ret, args, id) \
+  SIGNATURE_CHECK2 (fn, ret, args, id) /* macroexpand line */
+# define SIGNATURE_CHECK2(fn, ret, args, id) \
+  static ret (* _GL_UNUSED signature_check ## id) args = fn
+
+#endif /* SIGNATURE_CHECK */
index 97afff5f8b5f80d8ba64ba9e87c19a4c4d40de23..c815b2db097124a9e642848d8e9536a75ff9c457 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of execution of program termination handlers.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include <config.h>
 
 #include <stdlib.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (atexit, int, (void (*) (void)));
+
 #include <unistd.h>
 
 #define TEMPFILE "t-atexit.tmp"
index b447d05a1e243256505fdbd49dcdd9feeb8d3633..4a19553310cff8b01d701a4ed7e3bf8a33ce97a2 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion of unibyte character to wide character.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <wchar.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (btowc, wint_t, (int));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
index 7667983da51ad87cdeb3a8fb43d911344ab55a7a..4f4fca18b4460ff51c9b4d0db9c79635155d8eaa 100644 (file)
 
 #include <stdlib.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (realpath, char *, (const char *, char *));
+SIGNATURE_CHECK (canonicalize_file_name, char *, (const char *));
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index 32419366bc34a24562b103df491b5e36fe66024b..e180e95f8ad46e6050b23b6cf4983b8a7a52872f 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding towards positive infinity.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (ceilf, float, (float));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 764d2beafecbfbfe97ae9ff0d2b1630e9ba22f11..2ed0053311f4ec8c554b569a5c8321d5370e1217 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (ceill, long double, (long double));
+
 #include <float.h>
 #include <stdio.h>
 #include <stdlib.h>
index 4265970808f6a3d35188a92ed9c4efdc7cabd437..e7660707ea0e6c4815828c06c6079155634c5258 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (chown, int, (char const *, uid_t, gid_t));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 384d1efafc5370195dc8577a36a9957ab92b8976..9cedc1c62a1c5ef301451f593e94ab1e5b03f12f 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (dprintf, int, (int, const char *, ...));
+
 #include <stddef.h>
 #include <stdint.h>
 #include <stdlib.h>
index b22d1e6a587252032ce540d434d3ff56ad8693d5..a4aca82dfb2dd07ebde4aeef0e4e746696af8064 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (dup2, int, (int, int));
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index 41fc16ded68aa3d4fe2d8a2d4f6a73549d8a2a1b..9133b7bf4b330c8a2eb5fc16f18c1cf6febb66bf 100644 (file)
@@ -21,6 +21,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (dup3, int, (int, int, int));
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdbool.h>
index 354e13e8fb23373a21d460a6419ba0829e0d0b56..a368c074281702465accd51e47ff494259307d02 100644 (file)
@@ -22,6 +22,9 @@
 
 #if HAVE_DUPLOCALE
 
+#include "signature.h"
+SIGNATURE_CHECK (duplocale, locale_t, (locale_t));
+
 #include <langinfo.h>
 #include <monetary.h>
 #include <stdio.h>
index 75819ebe6d7caf2d798e1059fd3ac2821fb6acdd..7ec675e7da75945fbf01cbfeb0a9f2918fa1d962 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (fchdir, int, (int));
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index 2dbc857ec4cdb3eb1df8d3a4a34f851a92bbc7ba..c084ddf83cd26716bc0bc06d75659d34f93f2d44 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (fchownat, int, (int, char const *, uid_t, gid_t, int));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index c06b41e618f6e5b14a33cd8bf2eb4b0c4691c5aa..77ac87006efababa4641d678ef8ef32e9badd7c5 100644 (file)
@@ -21,6 +21,9 @@
 /* Specification.  */
 #include <fcntl.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (fcntl, int, (int, int, ...));
+
 /* Helpers.  */
 #include <errno.h>
 #include <stdarg.h>
index 7e0b3ee9bc50dd55da32d6cad9be010662846d78..f6006d0b8ed870ce951ad61e8eb8d60e5b8c22d1 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <dirent.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (fdopendir, DIR *, (int));
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index 8e33c9f0f67ee8004dffef759cc81fdce83384b2..9962d1d18254629277447eb99737838cf2d172a1 100644 (file)
 #include <config.h>
 
 #include <stdio.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (fflush, int, (FILE *));
+
 #include <unistd.h>
 
 int
index babf6efea3acd892ab69580f698a556b3f6b6392..a8a615e9a6e4e7354652cb63054222b14898b519 100644 (file)
@@ -18,6 +18,9 @@
 
 #include <sys/file.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (flock, int, (int, int));
+
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
index 373724a46843c067e4728d1c88f75dabd245947e..e156732392eb386cd5599169c347525418cfe0c2 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding towards negative infinity.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (floorf, float, (float));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 7afea04f2a92ba8e6a74d80ff29b9e37a0c8f297..a8080e58b0b0620beb1c00f4f2e02b143201e074 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (floorl, long double, (long double));
+
 #include <float.h>
 #include <stdio.h>
 #include <stdlib.h>
index 3e21d9d44bb141e7f28d93e000ffbf6e4a06e2e6..f9485afcf16504d428b070a3059932b6659173ec 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <fnmatch.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (fnmatch, int, (char const *, char const *, int));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 29d783946323ae410a4b6b4f5e4b778f9f2845ec..e7e7770137e0adc62ed3f60334a777243ce50b0e 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (fopen, FILE *, (char const *, char const *));
+
 #define BASE "test-fopen.t"
 
 #include "test-fopen.h"
index 4133e40bd2c30f53d9127d71c4156fc32813f634..21c626ee09f578184784bba006897baf3f1957ad 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible fprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (fprintf, int, (FILE *, char const *, ...));
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
index 23f2af512387aad79b2212c77735bc861ce557a6..bdb5de0fe9927ca4d2cfc50b4d7dc0ec4de7a63a 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of opening a file stream.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include <config.h>
 
 #include <stdio.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (freopen, FILE *, (char const *, char const *, FILE *));
+
 #include <stdlib.h>
 
 #define ASSERT(expr) \
index 47ddab2970efbeba188b90f9d84398718a4369d4..6b285c9a948349072dbce954752d0757837dcdae 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of splitting a double into fraction and mantissa.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (frexp, double, (double, int *));
+
 #include <float.h>
 #include <stdio.h>
 #include <stdlib.h>
index e4367f6eaedd1a083de3bfd797eccd489258b37d..7b7ec53941ecc11ee0c93940550ac8f27e4b77be 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (frexpl, long double, (long double, int *));
+
 #include <float.h>
 #include <stdio.h>
 #include <stdlib.h>
index 04fc966752aa2a8dc948386c20602e981e3196a6..4447a9b6f7352d5da685020163f232df9ce79c54 100644 (file)
 #include <config.h>
 
 #include <stdio.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (fseek, int, (FILE *, long, int));
+
 #include <stdlib.h>
 
 #define ASSERT(expr) \
index bdf025f5bf947824cc4f50fe56edf2c04fde4cd1..0d2f32199f61d8ee98999b24c5b60b83279d317e 100644 (file)
 #endif
 
 #include <stdio.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (fseeko, int, (FILE *, off_t, int));
+
 #include <stdlib.h>
 
 #define ASSERT(expr) \
index e965997b2923666f337e5c0eee618afb3deaf162..552bf45f3169b977dd743b0ab2d4f553a3df6c98 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <sys/stat.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (fstatat, int, (int, char const *, struct stat *, int));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 4766eb06ac98e68ef758285fd0bcfeaf7376d43f..bf789a2aa63556647f79ec94ed7ac8ea093934cb 100644 (file)
@@ -18,6 +18,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (fsync, int, (int));
+
 #include <errno.h>
 #include <stdio.h>
 #include <fcntl.h>
index 06628657a8a793ad441a4e594b3f9b9997138e5a..d9723f593b5e8011ae7c37d41ae44dd5df6cac65 100644 (file)
 #include <config.h>
 
 #include <stdio.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (ftell, long, (FILE *));
+
 #include <stdlib.h>
 
 #include "binary-io.h"
index dfe5be02fcaf2cf35018c2ce85dfc53ea60c0744..2af43f2bc91b52227ab9b73999a1f2b5a6244157 100644 (file)
 #include <config.h>
 
 #include <stdio.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (ftello, off_t, (FILE *));
+
 #include <stdlib.h>
 
 #include "binary-io.h"
index 4e049bdffe77bdc3f6d7f20831010f1d31747a8b..5753c6b2099686ddbae1a80bb092e014350b19e3 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <sys/stat.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (futimens, int, (int, struct timespec const[2]));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 7464ec21748b47405ccc05d92f5a0bbb976e6e27..a7e2381ecd1cb96cec2b7a740e7075f01a3c08a5 100644 (file)
 /* Written by Simon Josefsson.  */
 
 #include <config.h>
+
 #include <netdb.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (freeaddrinfo, void, (struct addrinfo *));
+SIGNATURE_CHECK (gai_strerror, char const *, (int));
+SIGNATURE_CHECK (getaddrinfo, int, (char const *, char const *,
+                                    struct addrinfo const *,
+                                    struct addrinfo **));
+
 #include <arpa/inet.h>
 #include <errno.h>
 #include <netinet/in.h>
index debace7df6468bbeed8b5eca976c7f828aea490d..75701808596f917a78edfa1ee4c82be6acfb2d99 100644 (file)
@@ -18,6 +18,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (getcwd, char *, (char *, size_t));
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 8de43dbf6e219c1fe26d8407b23bf3b796cdd19a..dc40bddebd211ce2cf01f5f7c4222b1632d0875b 100644 (file)
 #include <config.h>
 
 #include <stdio.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (getdelim, ssize_t, (char **, size_t *, int, FILE *));
+
 #include <stdlib.h>
 #include <string.h>
 
index 577d329efd406e34fc043860bf5961eaa6e0cfc8..e587aa13decc1fcc3cf0cc93b5d4872a8cd0679d 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of getdtablesize() function.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (getdtablesize, int, (void));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 6d4a5140fddb8ccec89db63b83fdf2f4d7d37f49..1d3ca98e3af0349626d0d9f3219ed4b434c6e852 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (getgroups, int, (int, gid_t[]));
+
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
index af1293b886c7fa6afa7d87d3b2ee79675fedfeff..a63839b2d3435802eb826a3612b9bb463c29d1a8 100644 (file)
 
 /* Get gethostname() declaration.  */
 #include <unistd.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (gethostname, int, (char *, size_t));
+
 /* Get HOST_NAME_MAX definition.  */
 #include <limits.h>
 
index cc40c55122995b18bb16b83802fb78f6671d216b..7564ece159f5676e043b9cc6efa05106694c0aca 100644 (file)
 #include <config.h>
 
 #include <stdio.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (getline, ssize_t, (char **, size_t *, FILE *));
+
 #include <stdlib.h>
 #include <string.h>
 
index 6811a020585bf7c22767fe7ad571567e1bf26d8e..9502a442ef31b73d2b90c1eebbd18a475449aba3 100644 (file)
 
 #if GNULIB_GETOPT_GNU
 # include <getopt.h>
+
+# ifndef __getopt_argv_const
+#  define __getopt_argv_const const
+# endif
+# include "signature.h"
+SIGNATURE_CHECK (getopt_long, int, (int, char *__getopt_argv_const *,
+                                    char const *, struct option const *,
+                                    int *));
+SIGNATURE_CHECK (getopt_long_only, int, (int, char *__getopt_argv_const *,
+                                         char const *, struct option const *,
+                                         int *));
+
 #endif
+
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (getopt, int, (int, char * const[], char const *));
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 3b858791a42173d4caa8df909bce503e1dfa4589..bd6698d1cf3f12ae503e087ef1bb13056f653702 100644 (file)
 #include <config.h>
 
 #include <sys/time.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (gettimeofday, int, (struct timeval *, void *));
+
 #include <time.h>
 
 #include <stdio.h>
index 750d9d8877addbc53bd1b319e60b799bfa5baaaa..d7a17dc03523a0d9824d5ea656b44503f5816e5c 100644 (file)
 
 #include <glob.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (glob, int, (char const *, int, int (*) (char const *, int),
+                             glob_t *));
+SIGNATURE_CHECK (globfree, void, (glob_t *));
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index e7e574245f17cfc1a55ff0f0deb545efe348fbf1..566ddee62fa93e490d70bda342c3f5ecc657fe89 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of character set conversion.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #if HAVE_ICONV
 # include <iconv.h>
+
+# ifndef ICONV_CONST
+#  define ICONV_CONST /* empty */
+# endif
+
+#include "signature.h"
+SIGNATURE_CHECK (iconv, size_t, (iconv_t, ICONV_CONST char **, size_t *,
+                                 char **, size_t *));
+SIGNATURE_CHECK (iconv_close, int, (iconv_t x));
+SIGNATURE_CHECK (iconv_open, iconv_t, (char const *, char const *));
+
 #endif
 
 #include <errno.h>
index 312163aab6d814086ccf36f6cad3c61485695bb7..8495620344bd7f25809c51d83e365d920e9f91a5 100644 (file)
 
 #include <arpa/inet.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (inet_ntop, char const *, (int, void const *, char *,
+                                           socklen_t));
+
 #include <netinet/in.h>
 #include <sys/socket.h>
 #include <stdio.h>
index dc6401e1fabe859a3d90567fe85aad70cb7c5f27..b1dbb052bb5a3c87638297e08edf034834189ce8 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <arpa/inet.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (inet_pton, int, (int, const char *, void *));
+
 #include <netinet/in.h>
 #include <sys/socket.h>
 #include <stdio.h>
index f25d26d05b03455aa3d30dd19f8028c8fe3f0aa1..d29fc6333895c8bf79d71b778774da0dd85904ea 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <ctype.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (isblank, int, (int));
+
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
index 2d718e2ccc8e3401ddb9740f9e292aae0600bba8..fc2f23c0d9dd16462ed1a89c42624e2b0aa1854f 100644 (file)
 
 #include <math.h>
 
+/* isfinite must be a macro.  */
+#ifndef isfinite
+# error missing declaration
+#endif
+
 #include <float.h>
 #include <limits.h>
 #include <stdio.h>
index c1a83d30e5bbb9c3f47318ba88d6062f7f81398f..d81ee7afc679982b4ca0d235d58ff595694d03ba 100644 (file)
 
 #include <math.h>
 
+/* isinf must be a macro.  */
+#ifndef isinf
+# error missing declaration
+#endif
+
 #include <float.h>
 #include <limits.h>
 #include <stdio.h>
index e9dd5e321a999e6b5cae53b6c7a398ef82505edd..74bb9d981f669ab453da7f6df9e884565f178f5b 100644 (file)
 
 #include <math.h>
 
+/* isnan must be a macro.  */
+#ifndef isnan
+# error missing declaration
+#endif
+
 #include <float.h>
 #include <limits.h>
 #include <stdio.h>
index 78c2940819008ac546b52bbb7ec1c7ceec9fd37d..b9091028d31c6dfa47917c65fd4818a51d98faa5 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (lchown, int, (char const *, uid_t, gid_t));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 42faf6071be032dcb44aafc4f51921023a5b38db..0fe4f8619c871e24c210f66d86d697965a36b474 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (ldexpl, long double, (long double, int));
+
 #include <float.h>
 #include <stdio.h>
 #include <stdlib.h>
index dd7df2e0163258bb3cb0952dda08192316d3629c..d2ff679d22267964941b042d03a26f8bca680fb4 100644 (file)
@@ -18,6 +18,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (link, int, (char const *, char const *));
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdbool.h>
index 11233fe13761eb655a6de3028e2bcfcf39f99001..c827a27d9653be01891997d5e2cd622429aefe4d 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (linkat, int, (int, char const *, int, char const *, int));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index e474a0b0117451c17d9028afee0fe17c4c2d002f..a57443db2230d00fa9ceb03aa74d9cba631e3ac7 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of lseek() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <config.h>
 
+#include <unistd.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (lseek, off_t, (int, off_t, int));
+
 #include <errno.h>
 #include <stdio.h>
-#include <unistd.h>
 
 #define ASSERT(expr) \
   do                                                                         \
index 8c62bc135afc81ca9ccd7ecebeb20ed096520f73..74a4fd2acf37d16c86f037fca4448003aac8cc69 100644 (file)
 
 #include <sys/stat.h>
 
+/* Caution: lstat may be a function-like macro.  Although this
+   signature check must pass, it may be the signature of the real (and
+   broken) lstat rather than rpl_lstat.  Most code should not use the
+   address of lstat.  */
+#include "signature.h"
+SIGNATURE_CHECK (lstat, int, (char const *, struct stat *));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 178e2106cc919a631ce6960ff957c121324819ea..916427308f8d4a5a97c09ffa82dc0d76425bc3e8 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion of multibyte character to wide character.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <wchar.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (mbrtowc, size_t, (wchar_t *, char const *, size_t,
+                                   mbstate_t *));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
index 392b8535fc0836a568bdd557ed1cf543b8b13a2f..2732693bc2adac40eb2c743b62c690291a0981a0 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of test for initial conversion state.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <wchar.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (mbsinit, int, (const mbstate_t *));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
index 60a8e18829d65a9a822c39f4bf4313cce716753e..471c17b8b62e92bfdc4618fbe376a2112ddbf7f7 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion of string to wide string.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <wchar.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (mbsnrtowcs, size_t, (wchar_t *, char const **, size_t, size_t,
+                                      mbstate_t *));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
index 49cb78ae4da5bd27f3ed0164082ccd4c9f4a7b02..4a01d4a59a57722e3323780e3d91c0024052f899 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion of string to wide string.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <wchar.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (mbsrtowcs, size_t, (wchar_t *, char const **, size_t,
+                                     mbstate_t *));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
index 582df89faecb8de86a5f18946d756899b4aadccc..2ec37b65af52fd548e2579da8aa90e0349a46ca7 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (memchr, void *, (void const *, int, size_t));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 87403161e157c95bf5b0461df4fdc6f49504b3c8..463ca0c9882c4dbea9435e8bf89638fd84f44a7d 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (memcmp, int, (void const *, void const *, size_t));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 75a2505b7a4c908343689a69b7caacab21080fa7..3c71a2e2695a400601e64e603c9d688ab284a035 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (memmem, void *, (void const *, size_t, void const *, size_t));
+
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
index 17bc1f6f26fe3deb213f8051d7092b3ba2ed7d8e..d9128e76e45af401c0f5afba30f0cbeb1ab13d43 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (memrchr, void *, (void const *, int, size_t));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 6a19c30039564aec6b8ec646c8bd7d9c430b67e0..1531e25c504b8a28b6642207c3c0bfabd6478c3c 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <sys/stat.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (mkdir, int, (char const *, mode_t));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 9b59f17a48fb35935f065f900399253262736c9a..c11b1654dffa2cd05be0c53d77d6bd878abbb7ee 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <sys/stat.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (mkdirat, int, (int, char const *, mode_t));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 3a0336c330d9ca2672f44aee9373a014fbbd4ce2..df002ed74c4017f654fcef36b3b7e899479fcd26 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <sys/stat.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (mkfifo, int, (char const *, mode_t));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index fca3411b3e6842310c172fcbdac782406dcebc6e..1c6656e147b39d3fab8a0272971a4000f55efc54 100644 (file)
 
 #include <sys/stat.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (mkfifoat, int, (int, char const *, mode_t));
+SIGNATURE_CHECK (mknodat, int, (int, char const *, mode_t, dev_t));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 2e308833f55f9e1c1de132d8a1dd26efc9123209..b00cd28425ceb10a08f236e627f25b666bd9e260 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <sys/stat.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (mknod, int, (char const *, mode_t, dev_t));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 426ea999f13048b78537c496c345763ac40421e9..e4e7231640a13f8c0940ca6bbc74c6f2acf628d3 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <time.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (nanosleep, int, (struct timespec const *, struct timepec *));
+
 #include <errno.h>
 #include <signal.h>
 #include <stdio.h>
index 337e6ecc94e108a4400d64d970f76b107c27f1a2..a2f5f682577c7e3b8a076970d7eb8d69fdbe8061 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <langinfo.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (nl_langinfo, char *, (nl_item));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
index fdbdcfad3ea2ac57c04dddee72d58e66342cc521..ca07f47524d942ec35123860162694ba7501d988 100644 (file)
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (obstack_printf, int, (struct obstack *, char const *, ...));
+SIGNATURE_CHECK (obstack_vprintf, int, (struct obstack *, char const *,
+                                        va_list));
+
 #include "obstack.h"
 #include "xalloc.h"
 
index 37109a58a145365f6ca5f7bc1bd6d0dfd49b376b..4bdf31431f39022ba5662ea6fa0a5062b2a6360f 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <fcntl.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (open, int, (char const *, int, ...));
+
 #include <errno.h>
 #include <stdbool.h>
 #include <stdio.h>
index 77185cc45a42e4821f4e178b3b963976518ccfdd..5eb9deb276fbaaaa13eb0f068951eb76bf96856a 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <fcntl.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (openat, int, (int, char const *, int, ...));
+
 #include <errno.h>
 #include <stdarg.h>
 #include <stdbool.h>
index 2faa8aeaf08c13876f6d5a021de3c347198c219c..a045f1911ac8b4dd22ddea9546815d63627a3206 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of perror() function.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -19,6 +19,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (perror, void, (char const *));
+
 #include <errno.h>
 
 int
index 049af5d5a50853caf595011ceb1b684139cd255f..5eb5ec3287ebd43e815084651eb3ce1bde791c9c 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (pipe2, int, (int[2], int));
+
 #include <fcntl.h>
 #include <stdbool.h>
 
index ed9bd9e917fa1bc7bef6c0e5daed7bad1668d45a..3f884df0c4ee2c68e93818850ca0307b630b8a51 100644 (file)
 
 #include <config.h>
 
+#include <poll.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (poll, int, (struct pollfd[], nfds_t, int));
+
 #include <stdio.h>
 #include <string.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <poll.h>
 #include <fcntl.h>
 #include <stdlib.h>
 #include <stdbool.h>
index 342e36304455104c5de721274f98787bbe8d5abb..914eea85d2ecbd94bdba6d1c7d05e5499ec372f5 100644 (file)
@@ -21,4 +21,8 @@
 /* Specification.  */
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (popen, FILE *, (char const *, char const *));
+SIGNATURE_CHECK (pclose, int, (FILE *));
+
 #include "test-popen.h"
index 896c7c9d496bde9b57687b419e7427e3edb36455..27f426ef9d61cee67d03e36b2f981b8bf7d78cae 100644 (file)
 
 #include <spawn.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (posix_spawnp, int, (pid_t *, char const *,
+                                     posix_spawn_file_actions_t const *,
+                                     posix_spawnattr_t const *,
+                                     char *const[], char *const[]));
+SIGNATURE_CHECK (posix_spawnattr_init, int, (posix_spawnattr_t *));
+SIGNATURE_CHECK (posix_spawnattr_destroy, int, (posix_spawnattr_t *));
+SIGNATURE_CHECK (posix_spawnattr_setsigmask, int, (posix_spawnattr_t *,
+                                                   sigset_t const *));
+SIGNATURE_CHECK (posix_spawnattr_setflags, int, (posix_spawnattr_t *, short));
+SIGNATURE_CHECK (posix_spawn_file_actions_init, int,
+                 (posix_spawn_file_actions_t *));
+SIGNATURE_CHECK (posix_spawn_file_actions_destroy, int,
+                 (posix_spawn_file_actions_t *));
+SIGNATURE_CHECK (posix_spawn_file_actions_addclose, int,
+                 (posix_spawn_file_actions_t *, int));
+SIGNATURE_CHECK (posix_spawn_file_actions_addopen, int,
+                 (posix_spawn_file_actions_t *, int, char const *, int,
+                  mode_t));
+SIGNATURE_CHECK (posix_spawn_file_actions_adddup2, int,
+                 (posix_spawn_file_actions_t *, int, int));
+
 #include <errno.h>
 #include <fcntl.h>
 #include <signal.h>
index af71068fe2fe26520c9a36294c0b1741ad0a9fc2..c8f8398f4151bf424ae3e35e4c6ebb0b051d45dc 100644 (file)
 
 #include <spawn.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (posix_spawn, int, (pid_t *, char const *,
+                                    posix_spawn_file_actions_t const *,
+                                    posix_spawnattr_t const *,
+                                    char *const[], char *const[]));
 #include <errno.h>
 #include <fcntl.h>
 #include <signal.h>
index 0ef387d9ff723e49aa394a0c9244d8028e54906f..d5a86ad2a70f023b14eafb080678d632f6d0835c 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (pread, ssize_t, (int, void *, size_t, off_t));
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/types.h>
index 51f1bf787014ebee94097c03f97e6c8adc93737b..c09b1883fd861827a763ab2c4233a3de0c09237d 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible printf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (printf, int, (char const *, ...));
+
 #include <stddef.h>
 #include <stdint.h>
 #include <stdlib.h>
index cd24f0d5e3fd02c6872cbb6802029983153ce4c0..1c77166aa9b122040e735f0aec3b1c55dc5d5208 100644 (file)
 
 #include <pty.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (forkpty, int, (int *, char *, struct termios *,
+                                struct winsize *));
+SIGNATURE_CHECK (openpty, int, (int *, int *, char *, struct termios *,
+                                struct winsize *));
+
 #include <stdio.h>
 
 int
index 88deda036466ede80d55ab2435296eb8b349f802..391d98c6cda6f1c76f7530fc354fc7d754ebfee5 100644 (file)
 
 #include <stdlib.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (srandom_r, int, (unsigned int, struct random_data *));
+SIGNATURE_CHECK (initstate_r, int, (unsigned int, char *, size_t,
+                                    struct random_data *));
+SIGNATURE_CHECK (setstate_r, int, (char *, struct random_data *));
+SIGNATURE_CHECK (random_r, int, (struct random_data *, int32_t *));
+
 #include <stdio.h>
 #include <time.h>
 
index eece65fbfbca474abe9eb73f7821be1c75729c8e..f1eef2c2785915e73775a09329c1b0ebacb69ca2 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (rawmemchr, void *, (void const *, int));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 5e51cb6d71bdf87943c1a461abb1ad3283fad4e5..61f8f6bb786926da1c1b9f7a9a6cfed71c329554 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (readlink, ssize_t, (char const *, char *, size_t));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 7781dfc336ebefc667a6c101f7cacfcac4e2e034..1a92f6c0d11b8e455a95cfc0594b94fdb35019d9 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (remove, int, (char const *));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdlib.h>
index 0d51140d80ccdf13301ded489b7b474e528f186a..1cd2e8fc0cea217544a0b8177caa0e6a79023b2d 100644 (file)
 
 #include <config.h>
 
-#include <unistd.h>
+#include <stdio.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (rename, int, (char const *, char const *));
 
 #include <errno.h>
 #include <fcntl.h>
 #include <stdbool.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
index 7cde7be10ca48ff9dc89054b7309d8cfb35a529d..3293d52c340a77e2de534baa259de4ce9d5b1bff 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (renameat, int, (int, char const *, int, char const *));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 908b0e66611b744f00c26a2f4a09851c5e405d24..44f5d7204fda6cc64badf4d09bf0158bee01dd28 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (rmdir, int, (char const *));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 8e9e0ef9c3d576281c449eed61c9fb3e767fcabf..6f2795ecd23ebfaace800f4db966ba45346c1cdd 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding to nearest, breaking ties away from zero.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -22,6 +22,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (round, double, (double));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index cbf3f9edb1085ad25cfe30ab7ed2e304d77c6dcf..98edc4a7e1cb6ea37f04fc77fec7b0d4cca12c28 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding to nearest, breaking ties away from zero.
-   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -22,6 +22,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (roundf, float, (float));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index c4fcf0cbb6fe999a9ca7c83f3a91a43b8df9fd79..048aa8b9f3b8d1046edef93050eaf801d202d2bf 100644 (file)
@@ -22,6 +22,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (roundl, long double, (long double));
+
 #include <float.h>
 #include <stdio.h>
 #include <stdlib.h>
index 5ce7c7faed731a6a34e184b45f55764ba6bb1fd9..5b413d564ed04a5ac6cfd3e4d56f26795bef1659 100644 (file)
 
 #include <sys/select.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (select, int, (int, fd_set *, fd_set *, fd_set *,
+                               struct timeval *));
+/* The following may be macros without underlying functions, so only
+   check signature if they are not macros.  */
+#ifndef FD_CLR
+SIGNATURE_CHECK (FD_CLR, void, (int, fd_set *));
+#endif
+#ifndef FD_ISSET
+SIGNATURE_CHECK (FD_ISSET, void, (int, fd_set *));
+#endif
+#ifndef FD_SET
+SIGNATURE_CHECK (FD_SET, int, (int, fd_set *));
+#endif
+#ifndef FD_ZERO
+SIGNATURE_CHECK (FD_ZERO, void, (fd_set *));
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <netinet/in.h>
index eb1fe3336f2414a6601ade9a1133d7728a7308ac..b23d296e3972bd1e946f535e492561834dc51fbb 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <stdlib.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (setenv, int, (char const *, char const *, int));
+
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>
index 55da288b42f20ee5664d5f9ae0bc3217d0d3dcde..63dfd7ad4144d1b4fed5106279097e0cc2cea3d8 100644 (file)
 
 #include <signal.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (sigaction, int, (int, struct sigaction const *,
+                                  struct sigaction *));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index acca7fd98824413cca2ed88bac7acd877b135338..4acb045460d1852724e6639356ef2382a9a132a4 100644 (file)
 
 #include <math.h>
 
+/* signbit must be a macro.  */
+#ifndef signbit
+# error missing declaration
+#endif
+
 #include <float.h>
 #include <limits.h>
 #include <stdio.h>
index 8840142ac9d8d1b8a20c36741056bd807b107f3c..4abca334ceea73e98891ad22ba6bbdc415622990 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (sleep, unsigned int, (unsigned int));
+
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
index 55bca339b21c26b6afca3f19d02b290fab3ea8ac..6f1e34ceca4204da895ea272b617f661bab0b5d3 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of snprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (snprintf, int, (char *, size_t, char const *, ...));
+
 #include <stdlib.h>
 #include <string.h>
 
index e5dab357c6307cb120e5f24c6226beab7b795be5..47bbaa08cc6428eeff18d8d9a9d4f436a6bf1b65 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible sprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (sprintf, int, (char *, char const *, ...));
+
 #include <float.h>
 #include <stddef.h>
 #include <stdint.h>
index fc117314671c2a6984000e724101d48fd707e594..9e52a4a7add31eab13b2ac01b8eb689212997a5a 100644 (file)
 
 #include <sys/stat.h>
 
+/* Caution: stat may be a function-like macro.  Although this
+   signature check must pass, it may be the signature of the real (and
+   broken) stat rather than rpl_stat.  Most code should not use the
+   address of stat.  */
+#include "signature.h"
+SIGNATURE_CHECK (stat, int, (char const *, struct stat *));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 128bee316368d01bf1b31bf46785e9415d1a5b2c..d3f10b69fdb84a420b2e1d1fc1b842d1f571e4ae 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the system defined function stpncpy().
-   Copyright (C) 2003, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include <config.h>
 
 #include <string.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (stpncpy, char *, (char *, char const *, size_t));
+
 #include <stdio.h>
 
 int
index 8ecd3a9ad36b0de7ab26ce874bacd044aa5473de..7c2832abe48d49d1168bf8e7c323ea6bb5c062eb 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive searching in a string.
-   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (strcasestr, char *, (char const *, char const *));
+
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
index ea882e5543d5c0c5506fdf6c7650b36cd7c61b6c..f2f341f6bd47ff5c2b80bee5737b71e23836eb88 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (strchrnul, char *, (char const *, int));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 22e9f5ad951e46f06b5efa3e99736b1d2c6aa61b..986f75aa62d5fabc2b34dca8dc7248fe79c4a801 100644 (file)
@@ -21,6 +21,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (strerror, char *, (int));
+
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
index 6f06d8eca2870fc910cc20fb3d15884f200de556..bf97dc683c681bdfffd29c2c084a9652279ef601 100644 (file)
@@ -21,6 +21,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (strsignal, char *, (int));
+
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
index c89a1ace41495d58e627133bef5bf69f09465000..6bffc13242593688ec55d0af8e7d6d8f0185b43b 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (strstr, char *, (char const *, char const *));
+
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
index 14f73b9ca478f8746aa52230183c412944f604ee..affd52cd5e9bbf9dfdf647f8977342e53d35f951 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <stdlib.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (strtod, double, (char const *, char **));
+
 #include <errno.h>
 #include <float.h>
 #include <math.h>
index 220f2d6f676526bb9de0fa30a0dd419a637683b2..72b574d0fcef380a73786d7561e1c889e2dde8dd 100644 (file)
@@ -21,6 +21,9 @@
 
 #include <string.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (strverscmp, int, (const char *, const char *));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 4b593b6531db8c20fc6a50d367ecc0fb8f465743..c84e0064b23b45ea00f486ebbc3f90d6e5e7b41e 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (symlink, int, (char const *, char const *));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index c76244f31d44d9ce62a452df8dbee4c2971c8e8b..67f0adf6688c28bec164ee4852790ab1dae4a31c 100644 (file)
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (symlinkat, int, (char const *, int, char const *));
+SIGNATURE_CHECK (readlinkat, ssize_t, (int, char const *, char *, size_t));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index 496b9a825b391f908c5d00d1cbf5a318f0f2e886..c86916598e59b504e0bcdcd363eb79d5fffa6805 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of times function.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include <config.h>
 
 #include <sys/times.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (times, clock_t, (struct tms *));
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
index 671d3f5b534a562d0b8a9600a8b69f17e7bd0153..0c92cc6e2cccf5640c7bbd06ddd478af7617b361 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding towards zero.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (trunc, double, (double));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 834899b5806cdac0b97f4aacf3ba818404ddd824..44fd8c11faac0768a5d104279fef47bda26ecb64 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding towards zero.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (truncf, float, (float));
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 7e3dd17939c426278f84bb6c6307e9960b1aa3c3..3b36ea7c46d0b74a05addc3e9d0217639912d09d 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <math.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (truncl, long double, (long double));
+
 #include <float.h>
 #include <stdio.h>
 #include <stdlib.h>
index 273f3ab318f880651e6c62981467979c2109cb0d..c799f8ff807ad7e754ba84161382686acb832ac2 100644 (file)
@@ -1,5 +1,5 @@
 /* Test program for tsearch et al.
-   Copyright (C) 1997, 2000-2001, 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000-2001, 2007-2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software: you can redistribute it and/or
 
 #include <search.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (tdelete, void *, (void const *, void **,
+                                   int (*) (void const *, void const *)));
+SIGNATURE_CHECK (tfind, void *, (void const *, void * const *,
+                                 int (*) (void const *, void const *)));
+SIGNATURE_CHECK (tsearch, void *, (void const *, void **,
+                                   int (*) (void const *, void const *)));
+SIGNATURE_CHECK (twalk, void, (void const *,
+                               void (*) (void const *, VISIT, int)));
+
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
index a458698a61263b20ba89d67851d474d3fc2f4e8f..b37ae9b4d74293a1d84f41bf218bffbe6f90102c 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <sys/utsname.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (uname, int, (struct utsname *));
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 447a01473a2b690e5a37ad74866c94d707745397..ffc360da049038ec8c3608b1a492a76e6a79b775 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (unlink, int, (char const *));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index a98dc8dc4afcf003acd4ec1e84da7a03215849d8..313cf1ebf28cedc4558e435febecbb2e68644f11 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (unlinkat, int, (int, char const *, int));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index bd312a04b5ac73742e27c8854f0ff4f521acc0b7..6f80751788a22745d7d3e0dee5124edf151cc391 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <stdlib.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (unsetenv, int, (char const *));
+
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>
index d6e62ebe4d4447f4bb142c326d3654dafc699af4..a7921883331e1fbab1be4a0f8e293e3668afb078 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <unistd.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (usleep, int, (useconds_t));
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>
index 35fd1bfac616a82810d77fde30b6f22b348b3d16..b1dc94012527d6139a909c4533e396440fd4e478 100644 (file)
 
 #include <sys/stat.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (utimensat, int, (int, char const *, struct timespec const[2],
+                                  int));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
index a85ff8ec42ce7c49b900c39ede2edf0bced4c6b5..46483e4586225ebd8768d885e8a7a46eaa524aa4 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of vasprintf() and asprintf() functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (asprintf, int, (char **, char const *, ...));
+SIGNATURE_CHECK (vasprintf, int, (char **, char const *, va_list));
+
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
index 949665e0c1e6c48c60cdd6d927f38498e58d2242..932d289bb781d4bcde86830061c72ab8d1ce478d 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (vdprintf, int, (int, char const *, va_list));
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
index ae94fa7b94ae4b9d8d3b3ff873e4e64c4d1b4577..94c8ceab78d40ee336176c9d483132119667dd57 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible vfprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (vfprintf, int, (FILE *, char const *, va_list));
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
index 85222831ccf2fbebd68d8bb99e7d235cc5d9ce48..ec6368481ee921f59f5ab547773e7717f0abbac3 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible vfprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (vprintf, int, (char const *, va_list));
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
index f0d08edbeca1f862ef7d568512599b1301364969..baaae6f28766407a56c8c7a38542ff4c6e5b567c 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of vsnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (vsnprintf, int, (char *, size_t, char const *, va_list));
+
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
index 3bb457fb5e2cc4f5911debe198855397ffc6f303..49a134781b6ed90c78d0d1df4bd199adbfcfd38e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible vsprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <stdio.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (vsprintf, int, (char *, char const *, va_list));
+
 #include <float.h>
 #include <stdarg.h>
 #include <stddef.h>
index 4fe972b46e56f1e3323677172934980963e8c2d3..3ac33e0f4b557130b13a8980a3bcf0b83e778013 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion of wide character to multibyte character.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <wchar.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (wcrtomb, size_t, (char *, wchar_t, mbstate_t *));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
index 38c0441b4be79182ed61756f80bbd67c94cada4f..f16dafe4073695bb943dc7e4fac07a1b9d1a515a 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion of wide string to string.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <wchar.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (wcsnrtombs, size_t, (char *, wchar_t const **, size_t, size_t,
+                                      mbstate_t *));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
index 3ceb7c0f61f9b7a71ff0a0c28d69ed9b76307a29..4fad01fa171f9f10ce83290c3d8d9f65612e4dc9 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion of wide string to string.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <wchar.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (wcsrtombs, size_t, (char *, wchar_t const **, size_t,
+                                     mbstate_t *));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
index 5087b088dcc67a5ce8416ea33a48e65a4eb5e5d7..f1a89d1440e636ef3751d57e3199cbaab6b39fbf 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of wcwidth() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,9 @@
 
 #include <wchar.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (wcwidth, int, (wchar_t));
+
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>