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 | 9fafc9eaf0d1cf3894b0b611f2104ef376f2594f (patch) | |
tree | b43b123498c5e26c7549e6ae59a35b9eac1ad27f /slirp | |
parent | 1ef59d0acf7c71e9b863bff904ceac74ce9bd107 (diff) | |
download | hqemu-9fafc9eaf0d1cf3894b0b611f2104ef376f2594f.zip hqemu-9fafc9eaf0d1cf3894b0b611f2104ef376f2594f.tar.gz |
avoid errno variable name
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@766 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp')
-rw-r--r-- | slirp/slirp.h | 2 | ||||
-rw-r--r-- | slirp/tcp_subr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h index c2fa86e..1167485 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -295,7 +295,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 diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c index bf8a202..07cfc0e 100644 --- a/slirp/tcp_subr.c +++ b/slirp/tcp_subr.c @@ -240,7 +240,7 @@ tcp_newtcpcb(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; |