Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/echo



Module Name:    src
Committed By:   rillig
Date:           Sun Oct 10 19:07:19 UTC 2021

Modified Files:
        src/bin/echo: Makefile echo.c

Log Message:
echo: clean up, increase WARNS to 6

Lint can handle __COPYRIGHT and __RCSID, so there is no need to hide
them anymore.

Use proper type 'bool' for nflag, ensure correct types via lint's strict
bool mode.

Remove unnecessary call to exit(0); returning from main is equivalent
since C99.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/bin/echo/Makefile
cvs rdiff -u -r1.20 -r1.21 src/bin/echo/echo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index