Changeset 1a795c31 in rtems


Ignore:
Timestamp:
Mar 28, 2007, 4:47:30 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d506dff
Parents:
fa768df
Message:

Change int args to intptr_t because they are casted to pointers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/sys/protosw.h

    rfa768df r1a795c31  
    174174        int     (*pru_abort)(struct socket *so);
    175175        int     (*pru_accept)(struct socket *so, struct mbuf *nam);
    176         int     (*pru_attach)(struct socket *so, int proto);
     176        int     (*pru_attach)(struct socket *so, intptr_t proto);
    177177        int     (*pru_bind)(struct socket *so, struct mbuf *nam);
    178178        int     (*pru_connect)(struct socket *so, struct mbuf *nam);
    179179        int     (*pru_connect2)(struct socket *so1, struct socket *so2);
    180         int     (*pru_control)(struct socket *so, int cmd, caddr_t data,
     180        int     (*pru_control)(struct socket *so, intptr_t cmd, caddr_t data,
    181181                                    struct ifnet *ifp);
    182182        int     (*pru_detach)(struct socket *so);
     
    184184        int     (*pru_listen)(struct socket *so);
    185185        int     (*pru_peeraddr)(struct socket *so, struct mbuf *nam);
    186         int     (*pru_rcvd)(struct socket *so, int flags);
     186        int     (*pru_rcvd)(struct socket *so, intptr_t flags);
    187187        int     (*pru_rcvoob)(struct socket *so, struct mbuf *m,
    188                                    int flags);
     188                                   intptr_t flags);
    189189        /*
    190190         * The `m' parameter here is almost certainly going to become a
Note: See TracChangeset for help on using the changeset viewer.