| 1.4 |
| 02-Jan-2026 |
mrg | more updates for modern compilers / C versions.
ar_scan() takes a "void *" for both it's last arg, and the func's last arg. adjust some callbacks to cope without casts.
in configure, use return instead of exit(3) to avoid wanting stdlib.h.
if wanting a void signal retsigtype, use the right function (XXX, maybe just give up and remove all this now in 2026.)
remove checks for __GNU_LIBRARY__ before including stdlib.h or unistd.h, so that valid prototypes are enabled, and remove incomplete prototypes for them from these sources (eg, getenv(), getopt(), errno.)
avoid using bsd_signal entirely as a name, by defining it to gmake_bsd_signal() after including signal.h.
fixes builds for me on netbsd using GCC 12, 14, and 15.
|