Changeset e5d6315e in rtems


Ignore:
Timestamp:
Mar 28, 2007, 5:23:18 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
de4b317
Parents:
5c93ba2b
Message:

Eliminate P().

Location:
cpukit/libnetworking/netinet
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/netinet/igmp.c

    r5c93ba2b re5d6315e  
    7070
    7171static struct router_info *
    72                 find_rti __P((struct ifnet *ifp));
     72                find_rti (struct ifnet *ifp);
    7373
    7474static struct igmpstat igmpstat;
  • cpukit/libnetworking/netinet/in.c

    r5c93ba2b re5d6315e  
    6464};
    6565
    66 static void     in_socktrim __P((struct sockaddr_in *));
    67 static int      in_ifinit __P((struct ifnet *,
    68             struct in_ifaddr *, struct sockaddr_in *, int));
    69 static void     in_ifscrub __P((struct ifnet *, struct in_ifaddr *));
     66static void     in_socktrim(struct sockaddr_in *);
     67static int      in_ifinit(struct ifnet *,
     68            struct in_ifaddr *, struct sockaddr_in *, int);
     69static void     in_ifscrub(struct ifnet *, struct in_ifaddr *);
    7070
    7171static int subnetsarelocal = 0;
  • cpukit/libnetworking/netinet/in_pcb.c

    r5c93ba2b re5d6315e  
    6262struct  in_addr zeroin_addr;
    6363
    64 static void      in_pcbinshash __P((struct inpcb *));
    65 static void      in_rtchange __P((struct inpcb *, int));
     64static void      in_pcbinshash(struct inpcb *);
     65static void      in_rtchange(struct inpcb *, int);
    6666
    6767/*
     
    514514        struct in_addr laddr;
    515515        int cmd;
    516         void (*notify) __P((struct inpcb *, int));
     516        void (*notify)(struct inpcb *, int);
    517517{
    518518        register struct inpcb *inp, *oinp;
  • cpukit/libnetworking/netinet/ip_output.c

    r5c93ba2b re5d6315e  
    7171u_short ip_id;
    7272
    73 static struct mbuf *ip_insertoptions __P((struct mbuf *, struct mbuf *, int *));
     73static struct mbuf *ip_insertoptions(struct mbuf *, struct mbuf *, int *);
    7474static void     ip_mloopback
    75         __P((struct ifnet *, struct mbuf *, struct sockaddr_in *, int));
     75        (struct ifnet *, struct mbuf *, struct sockaddr_in *, int);
    7676static int      ip_getmoptions
    77         __P((int, struct ip_moptions *, struct mbuf **));
    78 static int      ip_optcopy __P((struct ip *, struct ip *));
    79 static int      ip_pcbopts __P((struct mbuf **, struct mbuf *));
     77        (int, struct ip_moptions *, struct mbuf **);
     78static int      ip_optcopy(struct ip *, struct ip *);
     79static int      ip_pcbopts(struct mbuf **, struct mbuf *);
    8080static int      ip_setmoptions
    81         __P((int, struct ip_moptions **, struct mbuf *));
     81        (int, struct ip_moptions **, struct mbuf *);
    8282
    8383extern  struct protosw inetsw[];
  • cpukit/libnetworking/netinet/tcp_subr.c

    r5c93ba2b re5d6315e  
    8585#endif
    8686
    87 static void     tcp_notify __P((struct inpcb *, int));
     87static void     tcp_notify(struct inpcb *, int);
    8888
    8989/*
     
    582582        struct ip *ip = vip;
    583583        struct tcphdr *th;
    584         void (*notify) __P((struct inpcb *, int)) = tcp_notify;
     584        void (*notify)(struct inpcb *, int) = tcp_notify;
    585585
    586586        if (cmd == PRC_QUENCH)
Note: See TracChangeset for help on using the changeset viewer.