Received: by mail.netbsd.org (Postfix, from userid 605) id 7729484D6C; Sun, 14 Mar 2021 00:33:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id AB94184D66 for ; Sun, 14 Mar 2021 00:33:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id vCyg5NhcPFf5 for ; Sun, 14 Mar 2021 00:33:25 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 42B8A84D64 for ; Sun, 14 Mar 2021 00:33:25 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 30432FA95; Sun, 14 Mar 2021 00:33:25 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 14 Mar 2021 00:33:25 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/indent To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210314003325.30432FA95@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: Sun Mar 14 00:33:25 UTC 2021 Modified Files: src/usr.bin/indent: indent.h Log Message: indent: give indent a try at formatting its own code Formatting indent.h required the following manual corrections afterwards: The first tab in the comment in line 1 was replaced with a space but shouldn't be. The spacing around the '...' in function prototypes was completely wrong. It looked like 'const char *,...)__printflike', without any spaces. The '*' of the return type 'const char *' was tied to the function name, even though this declaration was only for a single function. In such a case, it's more appropriate to line up the function names. The function-like macros were not indented to -di. This is something that I would not expect from indent, so it's ok to do that manually. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.bin/indent/indent.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.