Module Name: src Committed By: rillig Date: Sun Oct 18 11:09:08 UTC 2020
Modified Files: src/usr.bin/make: make.c make.h Log Message: make(1): convert NoExecute to non-inline The header make.h is not only used by usr.bin/make but also by usr.bin/xinstall, to get the needshell function. That program does not declare the variables noRecursiveExecute and noExecute, leading to an "unresolved reference" at link time. To fix this, move the inline functions away from make.h. It's a quirk that make.h gets included by other programs since it contains a whole lot of definitions that are only useful in make itself. If any, there should be a separate header that defines the public library API of make, and only that. To generate a diff of this commit: cvs rdiff -u -r1.158 -r1.159 src/usr.bin/make/make.c cvs rdiff -u -r1.156 -r1.157 src/usr.bin/make/make.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.