diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-26 19:50:09 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-26 19:50:09 +0000 |
commit | ae41ef3303cc698d31cf5e26255af8c030a88362 (patch) | |
tree | e2f9143f5743778d4f7990b2c212937c4e99d3c5 | |
parent | 29aca44171f9b91be2bdac808e8cb94a8f544124 (diff) | |
download | slirp-ae41ef3303cc698d31cf5e26255af8c030a88362.zip slirp-ae41ef3303cc698d31cf5e26255af8c030a88362.tar.gz slirp-ae41ef3303cc698d31cf5e26255af8c030a88362.tar.bz2 |
avoid errno variable name
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@766 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | slirp.h | 2 | ||||
-rw-r--r-- | tcp_subr.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -296,7 +296,7 @@ int tcp_attach _P((struct socket *)); u_int8_t tcp_tos _P((struct socket *)); int tcp_emu _P((struct socket *, struct mbuf *)); int tcp_ctl _P((struct socket *)); -struct tcpcb *tcp_drop(struct tcpcb *tp, int errno); +struct tcpcb *tcp_drop(struct tcpcb *tp, int err); #ifdef USE_PPP #define MIN_MRU MINMRU @@ -239,7 +239,7 @@ struct tcpcb *tcp_newtcpcb(so) struct socket *so; * the specified error. If connection is synchronized, * then send a RST to peer. */ -struct tcpcb *tcp_drop(struct tcpcb *tp, int errno) +struct tcpcb *tcp_drop(struct tcpcb *tp, int err) { /* tcp_drop(tp, errno) register struct tcpcb *tp; |