Received: by mail.netbsd.org (Postfix, from userid 605) id 39FCE84D9D; Tue, 8 Oct 2019 07:33:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B03E384D66 for ; Tue, 8 Oct 2019 07:33:15 +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 knxd2bbom056 for ; Tue, 8 Oct 2019 07:33:15 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4C2B484CFD for ; Tue, 8 Oct 2019 07:33:15 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 45413FBF4; Tue, 8 Oct 2019 07:33:15 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 8 Oct 2019 07:33:15 +0000 From: "matthew green" Subject: CVS commit: src/sys To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20191008073315.45413FBF4@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "matthew green" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: mrg Date: Tue Oct 8 07:33:15 UTC 2019 Modified Files: src/sys/kern: kern_stub.c src/sys/sys: conf.h Log Message: steal an idea from uwe@ and implement gcc-8 function type cast friendly methods for sys/conf.h that needs it. one alias per return type and first function are are needed, though they can be stubbed to existing code. the only cost is the symbol itself, the codegen it the same. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/kern/kern_stub.c cvs rdiff -u -r1.152 -r1.153 src/sys/sys/conf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.