Received: by mail.netbsd.org (Postfix, from userid 605) id D639984DD7; Fri, 2 Apr 2021 09:52:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CBC1184DD4 for ; Fri, 2 Apr 2021 09:52:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Sut4Lbm6k9Om for ; Fri, 2 Apr 2021 09:52:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6844984DD5 for ; Fri, 2 Apr 2021 09:52:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 653C3FA95; Fri, 2 Apr 2021 09:52:36 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 2 Apr 2021 09:52:36 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/xlint/lint1 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210402095236.653C3FA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roland Illig" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rillig Date: Fri Apr 2 09:52:36 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h mem1.c tree.c Log Message: lint: rename getnode to expr_zalloc_tnode The new name highlights that the returned memory is only valid in the scope of the current expression. This was misleading before since the other related functions all have a 't' (probably for 'temporary') in their names. Also encode in the function name that the returned memory is zeroed out as that could not be inferred from the old name. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208 src/usr.bin/xlint/lint1/cgram.y cvs rdiff -u -r1.96 -r1.97 src/usr.bin/xlint/lint1/externs1.h cvs rdiff -u -r1.39 -r1.40 src/usr.bin/xlint/lint1/mem1.c cvs rdiff -u -r1.255 -r1.256 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.