Module Name: src Committed By: rillig Date: Fri Mar 14 06:40:51 UTC 2025
Modified Files: src/usr.bin/xlint/llib: llib-lposix llib-lstdc Log Message: lint: fix definition of errno in lint standard libraries In llib-lstdc, when errno is a macro expanding to a function, that function was declared twice: once with prototype, once without; the latter is redundant. In llib-lposix, <errno.h> was not included, so errno was not defined as a macro. Realign lposix with lstdc by adding <errno.h> and sorting the included headers. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/xlint/llib/llib-lposix cvs rdiff -u -r1.3 -r1.4 src/usr.bin/xlint/llib/llib-lstdc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.