Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet no space between function name and paren: foo (b...



details:   https://anonhg.NetBSD.org/src/rev/3216d331e502
branches:  trunk
changeset: 565834:3216d331e502
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Apr 21 17:49:46 2004 +0000

description:
no space between function name and paren: foo (blah) -> foo(blah)

diffstat:

 sys/netinet/icmp6.h     |   26 +++++-----
 sys/netinet/if_atm.h    |    6 +-
 sys/netinet/if_inarp.h  |   24 +++++-----
 sys/netinet/igmp_var.h  |   16 +++---
 sys/netinet/in.h        |   16 +++---
 sys/netinet/in_gif.h    |   12 ++--
 sys/netinet/in_pcb.h    |   42 +++++++++---------
 sys/netinet/in_var.h    |   30 ++++++------
 sys/netinet/ip_gre.h    |    6 +-
 sys/netinet/ip_icmp.h   |   18 ++++----
 sys/netinet/ip_mroute.h |   30 ++++++------
 sys/netinet/ip_var.h    |   72 ++++++++++++++++----------------
 sys/netinet/tcp_var.h   |  106 ++++++++++++++++++++++++------------------------
 sys/netinet/udp_var.h   |   14 +++---
 14 files changed, 209 insertions(+), 209 deletions(-)

diffs (truncated from 670 to 300 lines):

diff -r 3e49cd0fbb85 -r 3216d331e502 sys/netinet/icmp6.h
--- a/sys/netinet/icmp6.h       Wed Apr 21 17:45:38 2004 +0000
+++ b/sys/netinet/icmp6.h       Wed Apr 21 17:49:46 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icmp6.h,v 1.29 2004/04/18 21:00:35 matt Exp $  */
+/*     $NetBSD: icmp6.h,v 1.30 2004/04/21 17:49:46 itojun Exp $        */
 /*     $KAME: icmp6.h,v 1.84 2003/04/23 10:26:51 itojun Exp $  */
 
 
@@ -629,20 +629,20 @@
 struct rttimer;
 struct in6_multi;
 
-void   icmp6_init (void);
-void   icmp6_paramerror (struct mbuf *, int);
-void   icmp6_error (struct mbuf *, int, int, int);
-int    icmp6_input (struct mbuf **, int *, int);
-void   icmp6_fasttimo (void);
-void   icmp6_reflect (struct mbuf *, size_t);
-void   icmp6_prepare (struct mbuf *);
-void   icmp6_redirect_input (struct mbuf *, int);
-void   icmp6_redirect_output (struct mbuf *, struct rtentry *);
-int    icmp6_sysctl (int *, u_int, void *, size_t *, void *, size_t);
+void   icmp6_init(void);
+void   icmp6_paramerror(struct mbuf *, int);
+void   icmp6_error(struct mbuf *, int, int, int);
+int    icmp6_input(struct mbuf **, int *, int);
+void   icmp6_fasttimo(void);
+void   icmp6_reflect(struct mbuf *, size_t);
+void   icmp6_prepare(struct mbuf *);
+void   icmp6_redirect_input(struct mbuf *, int);
+void   icmp6_redirect_output(struct mbuf *, struct rtentry *);
+int    icmp6_sysctl(int *, u_int, void *, size_t *, void *, size_t);
 
 struct ip6ctlparam;
-void   icmp6_mtudisc_update (struct ip6ctlparam *, int);
-void   icmp6_mtudisc_callback_register (void (*)(struct in6_addr *));
+void   icmp6_mtudisc_update(struct ip6ctlparam *, int);
+void   icmp6_mtudisc_callback_register(void (*)(struct in6_addr *));
 
 /* XXX: is this the right place for these macros? */
 #define icmp6_ifstat_inc(ifp, tag) \
diff -r 3e49cd0fbb85 -r 3216d331e502 sys/netinet/if_atm.h
--- a/sys/netinet/if_atm.h      Wed Apr 21 17:45:38 2004 +0000
+++ b/sys/netinet/if_atm.h      Wed Apr 21 17:49:46 2004 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: if_atm.h,v 1.7 2004/04/18 21:00:35 matt Exp $       */
+/*      $NetBSD: if_atm.h,v 1.8 2004/04/21 17:49:46 itojun Exp $       */
 
 /*
  *
@@ -39,8 +39,8 @@
  * if_atm.h
  */
 
-void atm_rtrequest (int, struct rtentry *, struct rt_addrinfo *);
-int atmresolve (struct rtentry *, struct mbuf *, struct sockaddr *,
+void atm_rtrequest(int, struct rtentry *, struct rt_addrinfo *);
+int atmresolve(struct rtentry *, struct mbuf *, struct sockaddr *,
                struct atm_pseudohdr *);
 
 #endif /* _NETINET_IF_ATM_H_ */
diff -r 3e49cd0fbb85 -r 3216d331e502 sys/netinet/if_inarp.h
--- a/sys/netinet/if_inarp.h    Wed Apr 21 17:45:38 2004 +0000
+++ b/sys/netinet/if_inarp.h    Wed Apr 21 17:49:46 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_inarp.h,v 1.34 2004/04/18 21:00:35 matt Exp $       */
+/*     $NetBSD: if_inarp.h,v 1.35 2004/04/21 17:49:46 itojun Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -61,20 +61,20 @@
 
 #ifdef _KERNEL
 extern struct ifqueue arpintrq;
-void arp_ifinit (struct ifnet *, struct ifaddr *);
-void arp_rtrequest (int, struct rtentry *, struct rt_addrinfo *);
-int arpresolve (struct ifnet *, struct rtentry *, struct mbuf *,
+void arp_ifinit(struct ifnet *, struct ifaddr *);
+void arp_rtrequest(int, struct rtentry *, struct rt_addrinfo *);
+int arpresolve(struct ifnet *, struct rtentry *, struct mbuf *,
                    struct sockaddr *, u_char *);
-void arpintr (void);
-void arp_drain (void);
+void arpintr(void);
+void arp_drain(void);
 
-int arpioctl (u_long, caddr_t);
-void arpwhohas (struct ifnet *, struct in_addr *);
+int arpioctl(u_long, caddr_t);
+void arpwhohas(struct ifnet *, struct in_addr *);
 
-void revarpinput (struct mbuf *);
-void in_revarpinput (struct mbuf *);
-void revarprequest (struct ifnet *);
-int revarpwhoarewe (struct ifnet *, struct in_addr *, struct in_addr *);
+void revarpinput(struct mbuf *);
+void in_revarpinput(struct mbuf *);
+void revarprequest(struct ifnet *);
+int revarpwhoarewe(struct ifnet *, struct in_addr *, struct in_addr *);
 #endif
 
 #endif /* _NETINET_IF_INARP_H_ */
diff -r 3e49cd0fbb85 -r 3216d331e502 sys/netinet/igmp_var.h
--- a/sys/netinet/igmp_var.h    Wed Apr 21 17:45:38 2004 +0000
+++ b/sys/netinet/igmp_var.h    Wed Apr 21 17:49:46 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: igmp_var.h,v 1.19 2004/04/18 21:00:35 matt Exp $       */
+/*     $NetBSD: igmp_var.h,v 1.20 2004/04/21 17:49:46 itojun Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -113,13 +113,13 @@
 #define        IGMP_HDR_ALIGNED_P(ig)  ((((vaddr_t) (ig)) & 3) == 0)
 #endif
 
-void   igmp_init (void);
-void   igmp_input (struct mbuf *, ...);
-int    igmp_joingroup (struct in_multi *);
-void   igmp_leavegroup (struct in_multi *);
-void   igmp_fasttimo (void);
-void   igmp_slowtimo (void);
-void   igmp_purgeif (struct ifnet *);
+void   igmp_init(void);
+void   igmp_input(struct mbuf *, ...);
+int    igmp_joingroup(struct in_multi *);
+void   igmp_leavegroup(struct in_multi *);
+void   igmp_fasttimo(void);
+void   igmp_slowtimo(void);
+void   igmp_purgeif(struct ifnet *);
 #endif
 
 #endif /* _NETINET_IGMP_VAR_H_ */
diff -r 3e49cd0fbb85 -r 3216d331e502 sys/netinet/in.h
--- a/sys/netinet/in.h  Wed Apr 21 17:45:38 2004 +0000
+++ b/sys/netinet/in.h  Wed Apr 21 17:49:46 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in.h,v 1.65 2004/04/18 21:00:35 matt Exp $     */
+/*     $NetBSD: in.h,v 1.66 2004/04/21 17:49:46 itojun Exp $   */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -467,13 +467,13 @@
 extern struct in_addr zeroin_addr;
 extern u_char  ip_protox[];
 
-int    in_broadcast (struct in_addr, struct ifnet *);
-int    in_canforward (struct in_addr);
-int    in_cksum (struct mbuf *, int);
-int    in4_cksum (struct mbuf *, u_int8_t, int, int);
-void   in_delayed_cksum (struct mbuf *);
-int    in_localaddr (struct in_addr);
-void   in_socktrim (struct sockaddr_in *);
+int    in_broadcast(struct in_addr, struct ifnet *);
+int    in_canforward(struct in_addr);
+int    in_cksum(struct mbuf *, int);
+int    in4_cksum(struct mbuf *, u_int8_t, int, int);
+void   in_delayed_cksum(struct mbuf *);
+int    in_localaddr(struct in_addr);
+void   in_socktrim(struct sockaddr_in *);
 
 #define        in_hosteq(s,t)  ((s).s_addr == (t).s_addr)
 #define        in_nullhost(x)  ((x).s_addr == INADDR_ANY)
diff -r 3e49cd0fbb85 -r 3216d331e502 sys/netinet/in_gif.h
--- a/sys/netinet/in_gif.h      Wed Apr 21 17:45:38 2004 +0000
+++ b/sys/netinet/in_gif.h      Wed Apr 21 17:49:46 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in_gif.h,v 1.9 2004/04/18 21:00:35 matt Exp $  */
+/*     $NetBSD: in_gif.h,v 1.10 2004/04/21 17:49:46 itojun Exp $       */
 /*     $KAME: in_gif.h,v 1.6 2001/07/25 00:55:48 itojun Exp $  */
 
 /*
@@ -38,12 +38,12 @@
 extern int ip_gif_ttl;
 
 struct gif_softc;
-void in_gif_input (struct mbuf *, ...);
-int in_gif_output (struct ifnet *, int, struct mbuf *);
+void in_gif_input(struct mbuf *, ...);
+int in_gif_output(struct ifnet *, int, struct mbuf *);
 #ifdef GIF_ENCAPCHECK
-int gif_encapcheck4 (const struct mbuf *, int, int, void *);
+int gif_encapcheck4(const struct mbuf *, int, int, void *);
 #endif
-int in_gif_attach (struct gif_softc *);
-int in_gif_detach (struct gif_softc *);
+int in_gif_attach(struct gif_softc *);
+int in_gif_detach(struct gif_softc *);
 
 #endif /*_NETINET_IN_GIF_H_*/
diff -r 3e49cd0fbb85 -r 3216d331e502 sys/netinet/in_pcb.h
--- a/sys/netinet/in_pcb.h      Wed Apr 21 17:45:38 2004 +0000
+++ b/sys/netinet/in_pcb.h      Wed Apr 21 17:49:46 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in_pcb.h,v 1.37 2004/04/18 21:00:35 matt Exp $ */
+/*     $NetBSD: in_pcb.h,v 1.38 2004/04/21 17:49:46 itojun Exp $       */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -111,35 +111,35 @@
 #define        sotoinpcb(so)           ((struct inpcb *)(so)->so_pcb)
 
 #ifdef _KERNEL
-void   in_losing (struct inpcb *);
-int    in_pcballoc (struct socket *, void *);
-int    in_pcbbind (void *, struct mbuf *, struct proc *);
-int    in_pcbconnect (void *, struct mbuf *);
-void   in_pcbdetach (void *);
-void   in_pcbdisconnect (void *);
-void   in_pcbinit (struct inpcbtable *, int, int);
+void   in_losing(struct inpcb *);
+int    in_pcballoc(struct socket *, void *);
+int    in_pcbbind(void *, struct mbuf *, struct proc *);
+int    in_pcbconnect(void *, struct mbuf *);
+void   in_pcbdetach(void *);
+void   in_pcbdisconnect(void *);
+void   in_pcbinit(struct inpcbtable *, int, int);
 struct inpcb *
-       in_pcblookup_port (struct inpcbtable *,
+       in_pcblookup_port(struct inpcbtable *,
            struct in_addr, u_int, int);
 struct inpcb *
-       in_pcblookup_bind (struct inpcbtable *,
+       in_pcblookup_bind(struct inpcbtable *,
            struct in_addr, u_int);
 struct inpcb *
-       in_pcblookup_connect (struct inpcbtable *,
+       in_pcblookup_connect(struct inpcbtable *,
            struct in_addr, u_int, struct in_addr, u_int);
-int    in_pcbnotify (struct inpcbtable *, struct in_addr, u_int,
+int    in_pcbnotify(struct inpcbtable *, struct in_addr, u_int,
            struct in_addr, u_int, int, void (*)(struct inpcb *, int));
-void   in_pcbnotifyall (struct inpcbtable *, struct in_addr, int,
+void   in_pcbnotifyall(struct inpcbtable *, struct in_addr, int,
            void (*)(struct inpcb *, int));
-void   in_pcbpurgeif0 (struct inpcbtable *, struct ifnet *);
-void   in_pcbpurgeif (struct inpcbtable *, struct ifnet *);
-void   in_pcbstate (struct inpcb *, int);
-void   in_rtchange (struct inpcb *, int);
-void   in_setpeeraddr (struct inpcb *, struct mbuf *);
-void   in_setsockaddr (struct inpcb *, struct mbuf *);
+void   in_pcbpurgeif0(struct inpcbtable *, struct ifnet *);
+void   in_pcbpurgeif(struct inpcbtable *, struct ifnet *);
+void   in_pcbstate(struct inpcb *, int);
+void   in_rtchange(struct inpcb *, int);
+void   in_setpeeraddr(struct inpcb *, struct mbuf *);
+void   in_setsockaddr(struct inpcb *, struct mbuf *);
 struct rtentry *
-       in_pcbrtentry (struct inpcb *);
-extern struct sockaddr_in *in_selectsrc (struct sockaddr_in *,
+       in_pcbrtentry(struct inpcb *);
+extern struct sockaddr_in *in_selectsrc(struct sockaddr_in *,
        struct route *, int, struct ip_moptions *, int *);
 #endif
 
diff -r 3e49cd0fbb85 -r 3216d331e502 sys/netinet/in_var.h
--- a/sys/netinet/in_var.h      Wed Apr 21 17:45:38 2004 +0000
+++ b/sys/netinet/in_var.h      Wed Apr 21 17:49:46 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in_var.h,v 1.52 2004/04/18 21:00:35 matt Exp $ */
+/*     $NetBSD: in_var.h,v 1.53 2004/04/21 17:49:46 itojun Exp $       */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -292,22 +292,22 @@
 
 struct ifaddr;
 
-int    in_ifinit (struct ifnet *,
+int    in_ifinit(struct ifnet *,
            struct in_ifaddr *, struct sockaddr_in *, int);
-void   in_savemkludge (struct in_ifaddr *);
-void   in_restoremkludge (struct in_ifaddr *, struct ifnet *);
-void   in_purgemkludge (struct ifnet *);
-struct in_multi *in_addmulti (struct in_addr *, struct ifnet *);
-void   in_delmulti (struct in_multi *);
-void   in_ifscrub (struct ifnet *, struct in_ifaddr *);
-void   in_setmaxmtu (void);
-const char *in_fmtaddr (struct in_addr);
-int    in_control (struct socket *, u_long, caddr_t, struct ifnet *,
+void   in_savemkludge(struct in_ifaddr *);
+void   in_restoremkludge(struct in_ifaddr *, struct ifnet *);
+void   in_purgemkludge(struct ifnet *);
+struct in_multi *in_addmulti(struct in_addr *, struct ifnet *);
+void   in_delmulti(struct in_multi *);
+void   in_ifscrub(struct ifnet *, struct in_ifaddr *);
+void   in_setmaxmtu(void);
+const char *in_fmtaddr(struct in_addr);
+int    in_control(struct socket *, u_long, caddr_t, struct ifnet *,
            struct proc *);
-void   in_purgeaddr (struct ifaddr *, struct ifnet *);
-void   in_purgeif (struct ifnet *);
-void   ip_input (struct mbuf *);
-int    ipflow_fastforward (struct mbuf *);
+void   in_purgeaddr(struct ifaddr *, struct ifnet *);
+void   in_purgeif(struct ifnet *);
+void   ip_input(struct mbuf *);
+int    ipflow_fastforward(struct mbuf *);
 
 #endif



Home | Main Index | Thread Index | Old Index