Changeset 6b4010d6 in rtems


Ignore:
Timestamp:
Mar 27, 2007, 10:18:16 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5078ee3
Parents:
c95ac2f3
Message:

2007-03-26 Ralf Corsépius <ralf.corsepius@…>

  • libnetworking/netinet/ip_mroute.c: Eliminate P().
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rc95ac2f3 r6b4010d6  
    112007-03-26      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libnetworking/netinet/ip_mroute.c: Eliminate __P().
    34        * libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
    45        * libnetworking/net/raw_cb.c: Sync with FreeBSD.
  • cpukit/libnetworking/netinet/ip_mroute.c

    rc95ac2f3 r6b4010d6  
    5656
    5757#ifndef MROUTING
    58 extern u_long   _ip_mcast_src __P((int vifi));
    59 extern int      _ip_mforward __P((struct ip *ip, struct ifnet *ifp,
    60                                   struct mbuf *m, struct ip_moptions *imo));
    61 extern int      _ip_mrouter_done __P((void));
    62 extern int      _ip_mrouter_get __P((int cmd, struct socket *so,
    63                                      struct mbuf **m));
    64 extern int      _ip_mrouter_set __P((int cmd, struct socket *so,
    65                                      struct mbuf *m));
    66 extern int      _mrt_ioctl __P((int req, caddr_t data, struct proc *p));
     58extern u_long   _ip_mcast_src(int vifi);
     59extern int      _ip_mforward(struct ip *ip, struct ifnet *ifp,
     60                                  struct mbuf *m, struct ip_moptions *imo);
     61extern int      _ip_mrouter_done(void);
     62extern int      _ip_mrouter_get(int cmd, struct socket *so,
     63                                     struct mbuf **m);
     64extern int      _ip_mrouter_set(int cmd, struct socket *so,
     65                                     struct mbuf *m);
     66extern int      _mrt_ioctl(int req, caddr_t data, struct proc *p);
    6767
    6868/*
     
    209209int             ip_mrtproto = IGMP_DVMRP;    /* for netstat only */
    210210#else /* MROUTE_LKM */
    211 extern void     X_ipip_input __P((struct mbuf *m, int iphlen));
     211extern void     X_ipip_input(struct mbuf *m, int iphlen);
    212212extern struct mrtstat mrtstat;
    213213static int ip_mrtproto;
     
    280280static struct vif *last_encap_vif;
    281281
    282 static u_long   X_ip_mcast_src __P((int vifi));
    283 static int      X_ip_mforward __P((struct ip *ip, struct ifnet *ifp, struct mbuf *m, struct ip_moptions *imo));
    284 static int      X_ip_mrouter_done __P((void));
    285 static int      X_ip_mrouter_get __P((int cmd, struct socket *so, struct mbuf **m));
    286 static int      X_ip_mrouter_set __P((int cmd, struct socket *so, struct mbuf *m));
    287 static int      X_legal_vif_num __P((int vif));
    288 static int      X_mrt_ioctl __P((int cmd, caddr_t data));
     282static u_long   X_ip_mcast_src(int vifi);
     283static int      X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, struct ip_moptions *imo);
     284static int      X_ip_mrouter_done(void);
     285static int      X_ip_mrouter_get(int cmd, struct socket *so, struct mbuf **m);
     286static int      X_ip_mrouter_set(int cmd, struct socket *so, struct mbuf *m);
     287static int      X_legal_vif_num(int vif);
     288static int      X_mrt_ioctl(int cmd, caddr_t data);
    289289
    290290static int get_sg_cnt(struct sioc_sg_req *);
Note: See TracChangeset for help on using the changeset viewer.