summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-28 04:48:01 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-28 04:48:01 +0000
commitd506dffaebdee6a996854db9f0ae1f081cf4e4f1 (patch)
treebe050e12d167236c96520f31d22be361990d8fcc /cpukit/libnetworking/netinet/tcp_usrreq.c
parentChange int args to intptr_t because they are casted to pointers. (diff)
downloadrtems-d506dffaebdee6a996854db9f0ae1f081cf4e4f1.tar.bz2
Reflect changes to sys/protosw.h.
Diffstat (limited to 'cpukit/libnetworking/netinet/tcp_usrreq.c')
-rw-r--r--cpukit/libnetworking/netinet/tcp_usrreq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libnetworking/netinet/tcp_usrreq.c b/cpukit/libnetworking/netinet/tcp_usrreq.c
index a82e6b96e9..6951d0e543 100644
--- a/cpukit/libnetworking/netinet/tcp_usrreq.c
+++ b/cpukit/libnetworking/netinet/tcp_usrreq.c
@@ -96,7 +96,7 @@ static struct tcpcb *
* and an internet control block.
*/
static int
-tcp_usr_attach(struct socket *so, int proto)
+tcp_usr_attach(struct socket *so, intptr_t proto)
{
int s = splnet();
int error;
@@ -317,7 +317,7 @@ tcp_usr_shutdown(struct socket *so)
* After a receive, possibly send window update to peer.
*/
static int
-tcp_usr_rcvd(struct socket *so, int flags)
+tcp_usr_rcvd(struct socket *so, intptr_t flags)
{
int s = splnet();
int error = 0;
@@ -447,7 +447,7 @@ tcp_usr_sense(struct socket *so, struct stat *sb)
* Receive out-of-band data.
*/
static int
-tcp_usr_rcvoob(struct socket *so, struct mbuf *m, int flags)
+tcp_usr_rcvoob(struct socket *so, struct mbuf *m, intptr_t flags)
{
int s = splnet();
int error = 0;
@@ -504,7 +504,7 @@ tcp_usr_peeraddr(struct socket *so, struct mbuf *nam)
* the types worked out.
*/
static int
-tcp_usr_control(struct socket *so, int cmd, caddr_t arg, struct ifnet *ifp)
+tcp_usr_control(struct socket *so, intptr_t cmd, caddr_t arg, struct ifnet *ifp)
{
return in_control(so, cmd, arg, ifp);
}