]> git.ipfire.org Git - thirdparty/make.git/commit
Create src/mkcustom.h which is included by config.h
authorPaul Smith <psmith@gnu.org>
Sun, 8 Jan 2023 14:38:59 +0000 (09:38 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 8 Jan 2023 15:45:24 +0000 (10:45 -0500)
commit0de7a0d3bf29a240c5e0fef79b5b3eae8a6a01f5
tree7f454ba1998ae8ac0c63672d01697715d1f9038f
parent1656cd051c7f28de359b1f188b20a5a688004267
Create src/mkcustom.h which is included by config.h

Put declarations for missing functions which we create in src/misc.c
into a file which is included by config.h via AH_BOTTOM().  This
ensures those prototypes are available, even in files added to
lib/... from gnulib.

* src/mkcustom.h: Add a new file with function declarations.
* configure.ac: Include src/mkcustom.h in config.h with AH_BOTTOM()
* Makefile.am: Add the header to the SRCS list.
* src/makeint.h: Remove content that we added to src/mkcustom.h.
* src/config.ami: Add #include "mkcustom.h" to specialized config.h.
* src/config.h-vms: Ditto.
* src/config.h.W32: Ditto.
* src/configh.dos: Ditto.
Makefile.am
configure.ac
src/config.ami
src/config.h-vms
src/config.h.W32
src/configh.dos
src/makeint.h
src/mkcustom.h [new file with mode: 0644]