Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Don't need 'extern' for function prototypes.
details: https://anonhg.NetBSD.org/src/rev/87059b27d6c9
branches: trunk
changeset: 457053:87059b27d6c9
user: rjs <rjs%NetBSD.org@localhost>
date: Sat Jun 08 23:23:34 2019 +0000
description:
Don't need 'extern' for function prototypes.
diffstat:
sys/netinet/sctp_asconf.h | 22 +++++++++++-----------
sys/netinet/sctp_pcb.h | 4 ++--
2 files changed, 13 insertions(+), 13 deletions(-)
diffs (69 lines):
diff -r bcb3fd50b3f3 -r 87059b27d6c9 sys/netinet/sctp_asconf.h
--- a/sys/netinet/sctp_asconf.h Sat Jun 08 14:59:01 2019 +0000
+++ b/sys/netinet/sctp_asconf.h Sat Jun 08 23:23:34 2019 +0000
@@ -1,5 +1,5 @@
/* $KAME: sctp_asconf.h,v 1.8 2005/03/06 16:04:16 itojun Exp $ */
-/* $NetBSD: sctp_asconf.h,v 1.2 2019/02/24 17:01:52 kamil Exp $ */
+/* $NetBSD: sctp_asconf.h,v 1.3 2019/06/08 23:23:34 rjs Exp $ */
#ifndef _NETINET_SCTP_ASCONF_H_
#define _NETINET_SCTP_ASCONF_H_
@@ -43,29 +43,29 @@
struct sctp_inpcb;
struct sctp_asconf_ack_chunk;
-extern void sctp_asconf_cleanup(struct sctp_tcb *, struct sctp_nets *);
+void sctp_asconf_cleanup(struct sctp_tcb *, struct sctp_nets *);
-extern struct mbuf *sctp_compose_asconf(struct sctp_tcb *);
+struct mbuf *sctp_compose_asconf(struct sctp_tcb *);
-extern void sctp_handle_asconf(struct mbuf *, unsigned int, struct sctp_asconf_chunk *,
+void sctp_handle_asconf(struct mbuf *, unsigned int, struct sctp_asconf_chunk *,
struct sctp_tcb *, struct sctp_nets *);
-extern void sctp_handle_asconf_ack(struct mbuf *, int,
+void sctp_handle_asconf_ack(struct mbuf *, int,
struct sctp_asconf_ack_chunk *, struct sctp_tcb *, struct sctp_nets *);
-extern uint32_t sctp_addr_mgmt_ep_sa(struct sctp_inpcb *, struct sockaddr *,
+uint32_t sctp_addr_mgmt_ep_sa(struct sctp_inpcb *, struct sockaddr *,
uint16_t);
-extern void sctp_add_ip_address(struct ifaddr *);
+void sctp_add_ip_address(struct ifaddr *);
-extern void sctp_delete_ip_address(struct ifaddr *);
+void sctp_delete_ip_address(struct ifaddr *);
-extern int32_t sctp_set_primary_ip_address_sa(struct sctp_tcb *,
+int32_t sctp_set_primary_ip_address_sa(struct sctp_tcb *,
struct sockaddr *);
-extern void sctp_set_primary_ip_address(struct ifaddr *);
+void sctp_set_primary_ip_address(struct ifaddr *);
-extern void sctp_check_address_list(struct sctp_tcb *, struct mbuf *, int, int,
+void sctp_check_address_list(struct sctp_tcb *, struct mbuf *, int, int,
struct sockaddr *, uint16_t, uint16_t, uint16_t, uint16_t);
#endif /* _KERNEL */
diff -r bcb3fd50b3f3 -r 87059b27d6c9 sys/netinet/sctp_pcb.h
--- a/sys/netinet/sctp_pcb.h Sat Jun 08 14:59:01 2019 +0000
+++ b/sys/netinet/sctp_pcb.h Sat Jun 08 23:23:34 2019 +0000
@@ -1,5 +1,5 @@
/* $KAME: sctp_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */
-/* $NetBSD: sctp_pcb.h,v 1.1 2015/10/13 21:28:35 rjs Exp $ */
+/* $NetBSD: sctp_pcb.h,v 1.2 2019/06/08 23:23:34 rjs Exp $ */
#ifndef __SCTP_PCB_H__
#define __SCTP_PCB_H__
@@ -754,7 +754,7 @@
sctp_initiate_iterator(asoc_func af, uint32_t, uint32_t, void *, uint32_t,
end_func ef, struct sctp_inpcb *);
-extern void in6_sin6_2_sin (struct sockaddr_in *,
+void in6_sin6_2_sin (struct sockaddr_in *,
struct sockaddr_in6 *sin6);
#endif /* _KERNEL */
Home |
Main Index |
Thread Index |
Old Index