Received: by mail.netbsd.org (Postfix, from userid 605) id 5D55C84EAE; Wed, 6 Jun 2018 15:54:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D772084DA9 for ; Wed, 6 Jun 2018 15:54:03 +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 j2wAcplz7pjZ for ; Wed, 6 Jun 2018 15:54:03 +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 5672F84D24 for ; Wed, 6 Jun 2018 15:54:03 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2ECC8FBEC; Wed, 6 Jun 2018 15:54:03 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 6 Jun 2018 15:54:03 +0000 From: "Kamil Rytarowski" Subject: CVS commit: src/external/cddl/osnet/dev/dtrace To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180606155403.2ECC8FBEC@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: "Kamil Rytarowski" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kamil Date: Wed Jun 6 15:54:03 UTC 2018 Modified Files: src/external/cddl/osnet/dev/dtrace: dtrace_hacks.c Log Message: Correct compilation of osnet/dev/dtrace/dtrace_hacks.c under Clang Use __UNCONST() to remove const from an argument. This could be done with -W flags, but they are incompatible between compilers. This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/cddl/osnet/dev/dtrace/dtrace_hacks.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.