From nobody Fri Jul 14 07:47:00 2023 X-Original-To: dev-commits-src-all@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 4R2Nps1jknz4mmkk; Fri, 14 Jul 2023 07:47:01 +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 4R2Npr4vTTz3lYs; Fri, 14 Jul 2023 07:47:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689320820; 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=1c9M2PcfCVXqZDsrTQoDXdZRO6MNFDF4kxub933AL2U=; b=oWqP+4v/lfSOc3J9SUBCoiagk8/NzMuONB6hiHx/vzWA42187nw/RuYrd+GLL6WrzQ6hOq KZGu11ZvaFgAsucZWlZYLo0EZHNMCuJpZ8GkxkKuYJpWmWqXisQqhngo1z1vOfZ1oGc58u BkLCfWRkU+TsflvtoW0+UGe+ZFFg5zXBqIIbJupCKKfmgH0kMp81ECSnWJ/kQIA3AcSQL6 w+9gl/dWmrmVVl/a/ZBaiyPNjpXxpMQqoWLrkUozSV8yeCB5dxg9MgQKILQ+0JwB2T5MEe AnXW7WOXWq1beyLYevzdtPg493caOiJeSJwntU9HS+NCdeBhbh3YZcdB/yEXmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689320820; 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=1c9M2PcfCVXqZDsrTQoDXdZRO6MNFDF4kxub933AL2U=; b=ELGQycaP4JcxS/CceZjLl31ObrQcN4GKL1+O8KluYMwgPvErINxbjesJuy+YoD8ck+yX0E YwEBclG7R18ODcZe9jYuheR9doo+Apr2tPxC7DIw+l3he0xR95/kjz3blmnMf+Rv7N3b0g lGIn+eRaLsDgUF16RT2D/ixzrf97KpuQzpoqx9YAOTr/H2s2pRr+TBD9urfCGm9fQpFLMJ YB50tsd1BBkW5ofgL29YYCXonOdgurAdpx8GhKtcRrfEFLCZf1nQOPTAC39Iq8NrmsxLOZ 9aeXjnthCTqyiv9HwaoAoD2AeMrCk8Q44XPeunqHfvB4GXGfwaDfkcxSJLT1ew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689320820; a=rsa-sha256; cv=none; b=i8maZHMan6oER/lR/0U4f6E/REjvGgXunkUjcLHW2oygI5TIDsWg/u5QeoY4pTlv2D2Rk8 j+A6AQnX97gsPkWoyvfNMC8xwBs9yP7dHmAJwcujnZ1dAkREIA7vb+Cb155ZJyDEdVgmn3 rggBGkpybsa0qS0wsgl+aGnas+rxhXbauFw2kPzNYn2/tDHx2c7gDS0pkDg93JMAuWpxeI 8PQ/OLttwThmhQAZ69l3gSQjzP7gh0isPat833YHF9f1Ug+wzykYH16AIIQ8RiVR68s/a+ 5Seu1txBXhqjKQB5UXp7WfCIuXUdzD86cFg/lfXVMyKeLDv6cxKCwF1eqrOy/w== 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 4R2Npr3cgcz1NpD; Fri, 14 Jul 2023 07:47:00 +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 36E7l0cl032845; Fri, 14 Jul 2023 07:47:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36E7l0O0032844; Fri, 14 Jul 2023 07:47:00 GMT (envelope-from git) Date: Fri, 14 Jul 2023 07:47:00 GMT Message-Id: <202307140747.36E7l0O0032844@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: b8039bf5b329 - main - Fix MINIMAL build List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b8039bf5b329849ae1ad2ad32f5e847437d41edd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=b8039bf5b329849ae1ad2ad32f5e847437d41edd commit b8039bf5b329849ae1ad2ad32f5e847437d41edd Author: Kristof Provost AuthorDate: 2023-07-13 18:30:01 +0000 Commit: Kristof Provost CommitDate: 2023-07-14 07:18:43 +0000 Fix MINIMAL build Pre-declare struct ucred, to fix build issues on the MINIMAL config: In file included from /usr/src/sys/netpfil/pf/pfsync_nv.c:40: /usr/src/sys/netinet6/ip6_var.h:384:31: error: declaration of 'struct ucred' will not be visible outside of this function [-Werror,-Wvisibility] struct ip6_pktopts *, struct ucred *, int); ^ /usr/src/sys/netinet6/ip6_var.h:408:28: error: declaration of 'struct ucred' will not be visible outside of this function [-Werror,-Wvisibility] struct inpcb *, struct ucred *, int, struct in6_addr *, int *); ^ 2 errors generated. --- sys/netinet6/ip6_var.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h index bc409780feec..e538afd93994 100644 --- a/sys/netinet6/ip6_var.h +++ b/sys/netinet6/ip6_var.h @@ -346,6 +346,7 @@ extern struct pr_usrreqs rip6_usrreqs; struct sockopt; struct inpcb; +struct ucred; int icmp6_ctloutput(struct socket *, struct sockopt *sopt);