Source-Changes-D archive

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

Re: CVS commit: src/usr.bin/xlint/lint1



On 18.04.2021 16:12, Christos Zoulas wrote:
In article <20210418085205.10B75FA96%cvs.NetBSD.org@localhost>,
Roland Illig <source-changes-d%NetBSD.org@localhost> wrote:
-=-=-=-=-=-

Module Name:	src
Committed By:	rillig
Date:		Sun Apr 18 08:52:04 UTC 2021

Modified Files:
	src/usr.bin/xlint/lint1: err.c externs1.h lint1.h

Log Message:
lint: add error_at, warning_at, message_at


Isn't it better to pass "const pos_t *", instead of pos_t which needs to
copy the struct?

Thanks for the suggestion, I just changed that.

Roland


Home | Main Index | Thread Index | Old Index