Source-Changes archive

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

CVS commit: src/usr.bin/xlint



Module Name:    src
Committed By:   rillig
Date:           Sun Feb 28 18:51:51 UTC 2021

Modified Files:
        src/usr.bin/xlint/common: inittyp.c lint.h
        src/usr.bin/xlint/lint1: decl.c lex.c tree.c

Log Message:
lint: rename members and access macros of the basic types

Having the measurement unit in the variable name prevents accidental
confusion between bits and bytes, especially since usually the word
'size' means the size in bytes, while 'width' means the size in bits, at
least for integer types.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/xlint/common/inittyp.c
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/xlint/common/lint.h
cvs rdiff -u -r1.142 -r1.143 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/xlint/lint1/lex.c
cvs rdiff -u -r1.227 -r1.228 src/usr.bin/xlint/lint1/tree.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