summaryrefslogtreecommitdiff
path: root/src/posixos.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2022-07-04 09:47:24 -0400
committerPaul Smith <psmith@gnu.org>2022-07-09 10:46:47 -0400
commit0793658c09a8f33581dae6dfbe2483ea279e72b1 (patch)
tree21389fb0bfd0666054f980a3db4c95a838b6c927 /src/posixos.c
parent98da874c43035a490cdca81331724f233a3d0c9a (diff)
downloadmake-git-0793658c09a8f33581dae6dfbe2483ea279e72b1.tar.gz
Run autoupdate and clean up autoconf usage
We can assume that the return type of a signal handler is void. We can assume that, if sys/time.h exists, it can be included with time.h. * bootstrap: Get the latest version * configure.ac: Require a newer version of autoconf. Remove unnecessary AC_PROG_CC_C99 (already have AC_PROC_CC). Remove unnecessary AC_AIX, AC_ISC_POSIX, AC_MINIX. Remove unnecessary AC_HEADER_STDC, AC_HEADER_TIME, AC_TYPE_SIGNAL. Use strerror to search for the cposix library. * src/commands.c (fatal_error_signal): Assume return type is void. * src/commands.h: Ditto. * src/job.c: Ditto. * src/job.h: Ditto. * src/main.c: Ditto. * src/makeint.h: Ditto. Don't bother with TIME_WITH_SYS_TIME. * src/remote-cstms.c: Check HAVE_SYS_TIME_H. * src/config.ami.template: Remove RETSIGTYPE. * src/config.h-vms.template: Ditto. * src/config.h.W32.template: Ditto. Remove TIME_WITH_SYS_TIME.
Diffstat (limited to 'src/posixos.c')
-rw-r--r--src/posixos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posixos.c b/src/posixos.c
index f6adc685..9eecfcde 100644
--- a/src/posixos.c
+++ b/src/posixos.c
@@ -356,7 +356,7 @@ jobserver_acquire (int timeout)
during the section mentioned above, the read(2) will be invoked with an
invalid FD and will return immediately with EBADF. */
-static RETSIGTYPE
+static void
job_noop (int sig UNUSED)
{
}