git: eb0fdc77533d - main - netinet/ipsec.h: remove unneeded "extern"s
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jul 2024 08:53:44 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=eb0fdc77533db88d309a73f67f19222843597267 commit eb0fdc77533db88d309a73f67f19222843597267 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-07-19 19:11:42 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> 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 */