Source-Changes archive

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

CVS commit: src/usr.bin/make



Module Name:    src
Committed By:   rillig
Date:           Mon Oct 19 21:57:37 UTC 2020

Modified Files:
        src/usr.bin/make: arch.c dir.c lst.c lst.h main.c make.c meta.c parse.c
            suff.c

Log Message:
make(1): inline simple Lst getters

The function call variant takes more screen space than the direct field
access.  Having an abstract API is usually a good idea, in this case of
simple read-only member access it makes the code more difficult to read.

LstNode_Set has been kept as a function since it is not a read-only
accessor function.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/usr.bin/make/arch.c
cvs rdiff -u -r1.170 -r1.171 src/usr.bin/make/dir.c
cvs rdiff -u -r1.78 -r1.79 src/usr.bin/make/lst.c
cvs rdiff -u -r1.73 -r1.74 src/usr.bin/make/lst.h
cvs rdiff -u -r1.378 -r1.379 src/usr.bin/make/main.c
cvs rdiff -u -r1.164 -r1.165 src/usr.bin/make/make.c
cvs rdiff -u -r1.126 -r1.127 src/usr.bin/make/meta.c
cvs rdiff -u -r1.393 -r1.394 src/usr.bin/make/parse.c
cvs rdiff -u -r1.194 -r1.195 src/usr.bin/make/suff.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