1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Fixed some style bugs in the removal of __P(()). Continuation lines

were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
This commit is contained in:
Bruce Evans 2002-03-24 10:19:10 +00:00
parent 34fe62c776
commit c1cd65bae8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93085
8 changed files with 14 additions and 15 deletions

View File

@ -115,7 +115,7 @@ extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN];
extern struct ifqueue arpintrq;
int arpresolve(struct ifnet *, struct rtentry *, struct mbuf *,
struct sockaddr *, u_char *, struct rtentry *);
struct sockaddr *, u_char *, struct rtentry *);
void arp_ifinit(struct ifnet *, struct ifaddr *);
#endif

View File

@ -321,9 +321,8 @@ struct inpcb *
in_pcblookup_local(struct inpcbinfo *,
struct in_addr, u_int, int);
struct inpcb *
in_pcblookup_hash(struct inpcbinfo *,
struct in_addr, u_int, struct in_addr, u_int,
int, struct ifnet *);
in_pcblookup_hash(struct inpcbinfo *, struct in_addr, u_int,
struct in_addr, u_int, int, struct ifnet *);
void in_pcbnotifyall(struct inpcbhead *, struct in_addr,
int, void (*)(struct inpcb *, int));
void in_pcbrehash(struct inpcb *);

View File

@ -226,7 +226,7 @@ struct route;
struct in_multi *in_addmulti(struct in_addr *, struct ifnet *);
void in_delmulti(struct in_multi *);
int in_control(struct socket *, u_long, caddr_t, struct ifnet *,
struct thread *);
struct thread *);
void in_rtqdrain(void);
void ip_input(struct mbuf *);
int in_ifadown(struct ifaddr *ifa, int);

View File

@ -42,8 +42,8 @@
#ifndef MROUTING
extern u_long _ip_mcast_src(int vifi);
extern int _ip_mforward(struct ip *ip, struct ifnet *ifp,
struct mbuf *m, struct ip_moptions *imo);
extern int _ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m,
struct ip_moptions *imo);
extern int _ip_mrouter_done(void);
extern int _ip_mrouter_get(struct socket *so, struct sockopt *sopt);
extern int _ip_mrouter_set(struct socket *so, struct sockopt *sopt);

View File

@ -134,7 +134,7 @@ static void tcp_dooptions(struct tcpopt *, u_char *, int, int);
static void tcp_pulloutofband(struct socket *,
struct tcphdr *, struct mbuf *, int);
static int tcp_reass(struct tcpcb *, struct tcphdr *, int *,
struct mbuf *);
struct mbuf *);
static void tcp_xmit_timer(struct tcpcb *, int);
static int tcp_newreno(struct tcpcb *, struct tcphdr *);

View File

@ -134,7 +134,7 @@ static void tcp_dooptions(struct tcpopt *, u_char *, int, int);
static void tcp_pulloutofband(struct socket *,
struct tcphdr *, struct mbuf *, int);
static int tcp_reass(struct tcpcb *, struct tcphdr *, int *,
struct mbuf *);
struct mbuf *);
static void tcp_xmit_timer(struct tcpcb *, int);
static int tcp_newreno(struct tcpcb *, struct tcphdr *);

View File

@ -89,11 +89,11 @@
extern char *tcpstates[]; /* XXX ??? */
static int tcp_attach(struct socket *, struct thread *td);
static int tcp_connect(struct tcpcb *, struct sockaddr *,
struct thread *td);
static int tcp_connect(struct tcpcb *, struct sockaddr *,
struct thread *td);
#ifdef INET6
static int tcp6_connect(struct tcpcb *, struct sockaddr *,
struct thread *td);
struct thread *td);
#endif /* INET6 */
static struct tcpcb *
tcp_disconnect(struct tcpcb *);

View File

@ -126,15 +126,15 @@ struct udp_ip6 {
} udp_ip6;
#endif /* INET6 */
static void udp_append(struct inpcb *last, struct ip *ip,
struct mbuf *n, int off);
static void udp_append(struct inpcb *last, struct ip *ip, struct mbuf *n,
int off);
#ifdef INET6
static void ip_2_ip6_hdr(struct ip6_hdr *ip6, struct ip *ip);
#endif
static int udp_detach(struct socket *so);
static int udp_output(struct inpcb *, struct mbuf *, struct sockaddr *,
struct mbuf *, struct thread *);
struct mbuf *, struct thread *);
void
udp_init()