Source-Changes archive

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

CVS commit: src/usr.bin



Module Name:    src
Committed By:   rillig
Date:           Thu Aug 19 21:21:04 UTC 2021

Modified Files:
        src/usr.bin/mkdep: findcc.c findcc.h
        src/usr.bin/xlint/xlint: xlint.c

Log Message:
mkdep: fix prototype of findcc

A function that modifies a string argument must not declare that
argument as 'const char *', even if all callers (mkdep and lint) always
pass it a modifiable string.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/mkdep/findcc.c
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/mkdep/findcc.h
cvs rdiff -u -r1.77 -r1.78 src/usr.bin/xlint/xlint/xlint.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