Received: by mail.netbsd.org (Postfix, from userid 605) id 1F59E84DDB; Sat, 13 Mar 2021 11:47:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 51B9384DDA for ; Sat, 13 Mar 2021 11:47:23 +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 fDv5NLg__gIZ for ; Sat, 13 Mar 2021 11:47:22 +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 DD06B84D33 for ; Sat, 13 Mar 2021 11:47:22 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A49E4FA95; Sat, 13 Mar 2021 11:47:22 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 13 Mar 2021 11:47:22 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/indent To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210313114722.A49E4FA95@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: Sat Mar 13 11:47:22 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: split 'main' into manageable parts Since several years (maybe even decades) compilers know how to inline static functions that are only used once. Therefore there is no need to have overly long functions anymore, especially not 'main', which is only called a single time and thus does not add any noticeable performance degradation. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/usr.bin/indent/indent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.