From nobody Fri Aug 18 16:28:48 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RS6km35s2z4qlQW; Fri, 18 Aug 2023 16:28:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RS6km2XNnz3QpJ; Fri, 18 Aug 2023 16:28:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692376128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iehST8c47usACCkV+7dkdiB38Q9WSVy1UnYmAmQ4sbQ=; b=fZBEzXQAu30B+awDboujJZjvuP8Ux21NaBctLeeJQJSC/B1eYNTmPKLQE07jBukWMEIV9Q XuoSt7aoy8pNMPbotbaur3rJMHyYUV8Eem1Ah1Gjj3Fbq5e2Aet8a5XULSb7t2ADF6lIiV y7WO91njRSFuL11FLAYCJ6llZbggl9KXOKD4A/Hc9r5VAePSIMcpGzo7zWb39Vmyml8ooL 6JIUPnkwuwym0U7JSXkIsYqVdDUqtTfGWwdyOizdCDWCpG7h4Yf87/69d63jjVINC9Y0jv N2tVHneW3Jn83IguoYPrWqUTQzDYH14IsC6MBw6R4YnevrfezNe8nruWkuDllA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692376128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iehST8c47usACCkV+7dkdiB38Q9WSVy1UnYmAmQ4sbQ=; b=Q9+24fDjX2UdHo3ai5eZrbxuaqn7GfH4/O+/jVgY6UPC+6LbEvoE0FEN3y94Lqpqj0RKBt Zc52C0v820H4i6I/0euvatNpeP80O5PMkcyL893zbaxE0EU7+CFP+bAavOKEJQyEMeaisq Z47nb2bzDeK8kJOe8OXAkfNIc6/iInuKhi27cWzOUL5mCvJyS8nHdvzeLijNNbGla5+s63 KdbVSfXj03hzedVE9X3+Yd1vWMDcJ5cWyKvBg7nCwQahA++P9fldV20+XueTkHIt5fG53W EPARNAKH6sOQ1KRm00HEXwPTe++Wuj1nZZeLEqIPRysAsjH1/kfzDdnuNyJNyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692376128; a=rsa-sha256; cv=none; b=ZonQ45G+j/8KfqeXeix2S40jw0CASF6XUgwAVCzhy14ZnmfLMgmDvtXMp6OCY4METjnP1o gaRB38RhtoYwye33O7K5wkPGvmuor8wl/kFYl/21cNwyD1WRa+GYlcQgdWL+/evh13dzLZ HzI9+y4EAfWjlxRmQQ6qiAz/ah0PPMShHO1l3+OWY6caq84pgoZy6+xUWOPKqa8xlkaFLK ofU8aKOqPC5QIrFzul5RzhNcW7NpMi9DIBSV6tFxfzuPQ7e37dHpyhFkrRrlrQdmouJ/Hb ElEa7PFd73ekgeWN/eGS0j/GE8rm5lVlNszBT39Cz916Cy/Ay6MG4yrwyiYKjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RS6km1c1Qz7nf; Fri, 18 Aug 2023 16:28:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37IGSm4V034495; Fri, 18 Aug 2023 16:28:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37IGSmeO034492; Fri, 18 Aug 2023 16:28:48 GMT (envelope-from git) Date: Fri, 18 Aug 2023 16:28:48 GMT Message-Id: <202308181628.37IGSmeO034492@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 04f683b25a81 - main - subr_unit.c: another attempt to fix the build List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 04f683b25a81ad47c998e3e496419c08ae4905eb Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=04f683b25a81ad47c998e3e496419c08ae4905eb commit 04f683b25a81ad47c998e3e496419c08ae4905eb Author: Konstantin Belousov AuthorDate: 2023-08-18 15:42:59 +0000 Commit: Konstantin Belousov CommitDate: 2023-08-18 16:28:42 +0000 subr_unit.c: another attempt to fix the build Reported by: cy Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/kern/subr_unit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c index 7a23f216d98e..6826678104d6 100644 --- a/sys/kern/subr_unit.c +++ b/sys/kern/subr_unit.c @@ -340,6 +340,10 @@ free_iter_unr(void *handle) } #if defined(DIAGNOSTIC) || !defined(_KERNEL) +#ifndef __diagused +#define __diagused +#endif + /* * Consistency check function. *