]> git.ipfire.org Git - thirdparty/make.git/commit
Avoid C99 constructs
authorPaul Smith <psmith@gnu.org>
Fri, 28 Oct 2022 17:03:18 +0000 (13:03 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 29 Oct 2022 17:36:21 +0000 (13:36 -0400)
commit1dd52ab472e9dffa0cbdcdc68f196b64ce2abfc4
treebe776d0dc6afeebb66cd012daf9319a04ea91618
parent92789aa2e7586450b1a202f0e451445264b5fbbd
Avoid C99 constructs

Although gnulib requires C99, most of the code does compile with a
C90 compiler (perhaps with a lot of warnings).  Reinstate our C90
configuration test, and clean up a few C99 things that crept in.

* src/job.c (construct_command_argv_internal): Don't use loop-local
variables or C++ comments.
* src/read.c (eval_makefile): Don't use loop-local variables.
maintMakefile
src/job.c
src/read.c