From nobody Sun Jul 21 08:53:44 2024 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 4WRcdh3tXxz5R52Y; Sun, 21 Jul 2024 08:53:44 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRcdh3MHzz4npD; Sun, 21 Jul 2024 08:53:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721552024; 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=AQCm/v38yurgfa0i2lPNvv1X4sDE0rs7jyi1ZwEAYus=; b=tRFK6/Gx94gn6Bj/y/otoiJj11mHN8tfaLo9r5ZtIziXAdtP6jzv66dIUPzqcV5r/FmteO 1qkSpUyK1KEPtXN9ebsJ+y+8uI2hXA9nPzAn5v2st4QGp2Y8iEXWUDns6MRnxGI04y7/aj elTBH0o4kuoAMTn48vFSJqG4xGBFkj2ZZuqxhitDJfAYeJO0k8QEGyd60ox30uXhUr/Qmu Vo4qkeXipLI0SPVp6H8gn90aC9C7RcLxEDz9Wa8ZugpNBpeLsDDi+bmOrZ456/AgZLBAXI k4B3LLt98NmIkkhBl6+ceZWV8g0nSmxqUmEdl9E/H9Tztlsj6xaladMk2Qy3cg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721552024; a=rsa-sha256; cv=none; b=Iyxtbq37/FTx5q5agYIEe+DL2muGHhp9ghUl6Jd3Jp9l6X5NYX/enTa8WKg1qe1XXIFPzV fZV/9EWRA3W95bdFcw9YFl8O8aZQGbLwizYwxVjLMbUE0U4ssDbExKHJ3UMy9coEa8BtiV E4dhcaaFxoPb5lYZmE6GEl35i/q5tIoB6eekY84LUbefAEiEOi3EzSDLzbbQZxuBdtyD+t f61C7ORtsJQNTZeg4w7huZ5yL6QcpOPfVztUTMFIPuPf3iU2hd7Q9oxrKKGzIHW0jZcnFB dfAyOiYpfwTjV0gPjW2nz0wFs46HiXr+YWrqTG9GSiLmW9G1arS5JuXWORXbrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721552024; 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=AQCm/v38yurgfa0i2lPNvv1X4sDE0rs7jyi1ZwEAYus=; b=reU1q53yVNCshCPgWdKBsDBMaeL+BERJ5y8mnOqo2oms/e6cs2YgiAOBm6aA7GrfZxVxRW Z8bj5LtAdtsi6iU6Hx7GfyuxqIXA5o9ubNmW/kURmxdC6qEwJlENRbnSBjbjzJ2wPDFJzT 30LJZi49cZ8nnYlvRcKWADm/nFRL1AQUWfUrwCzpq0JvMEG9YNSHj/jztjgwH+isn77Ovv IdwaasPqIQTXKmlNezsacljoEI+nMoeiPcbe5icil1eEp1Bb+org3zDhzq0wqXQV3/rijb GdqgpQ61hCm8RdrPfjQ9ZBlZJoXEIgeZHnTJ9ucZA6dXemzStvoS+s4QUNLKLQ== 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 4WRcdh2xN5ztkM; Sun, 21 Jul 2024 08:53:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46L8rio8074989; Sun, 21 Jul 2024 08:53:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46L8riTg074986; Sun, 21 Jul 2024 08:53:44 GMT (envelope-from git) Date: Sun, 21 Jul 2024 08:53:44 GMT Message-Id: <202407210853.46L8riTg074986@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: eb0fdc77533d - main - netinet/ipsec.h: remove unneeded "extern"s 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: eb0fdc77533db88d309a73f67f19222843597267 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=eb0fdc77533db88d309a73f67f19222843597267 commit eb0fdc77533db88d309a73f67f19222843597267 Author: Konstantin Belousov AuthorDate: 2024-07-19 19:11:42 +0000 Commit: Konstantin Belousov CommitDate: 2024-07-21 08:53:19 +0000 netinet/ipsec.h: remove unneeded "extern"s Reviewed by: kp Sponsored by: NVIDIA networking Differential revision: https://reviews.freebsd.org/D46045 --- sys/netipsec/ipsec.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/netipsec/ipsec.h b/sys/netipsec/ipsec.h index 55cc0839eab9..dfb334601331 100644 --- a/sys/netipsec/ipsec.h +++ b/sys/netipsec/ipsec.h @@ -353,19 +353,19 @@ int ipsec4_process_packet(struct ifnet *, struct mbuf *, struct secpolicy *, int ipsec_process_done(struct mbuf *, struct secpolicy *, struct secasvar *, u_int); -extern void m_checkalignment(const char* where, struct mbuf *m0, - int off, int len); -extern struct mbuf *m_makespace(struct mbuf *m0, int skip, int hlen, int *off); -extern caddr_t m_pad(struct mbuf *m, int n); -extern int m_striphdr(struct mbuf *m, int skip, int hlen); +void m_checkalignment(const char* where, struct mbuf *m0, + int off, int len); +struct mbuf *m_makespace(struct mbuf *m0, int skip, int hlen, int *off); +caddr_t m_pad(struct mbuf *m, int n); +int m_striphdr(struct mbuf *m, int skip, int hlen); #endif /* _KERNEL */ #ifndef _KERNEL -extern caddr_t ipsec_set_policy(const char *, int); -extern int ipsec_get_policylen(c_caddr_t); -extern char *ipsec_dump_policy(c_caddr_t, const char *); -extern const char *ipsec_strerror(void); +caddr_t ipsec_set_policy(const char *, int); +int ipsec_get_policylen(c_caddr_t); +char *ipsec_dump_policy(c_caddr_t, const char *); +const char *ipsec_strerror(void); #endif /* ! KERNEL */