]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commitdiff
avoid errno variable name
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 26 Apr 2004 19:50:09 +0000 (19:50 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 26 Apr 2004 19:50:09 +0000 (19:50 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@766 c046a42c-6fe2-441c-8c8c-71466251a162

slirp/slirp.h
slirp/tcp_subr.c

index c2fa86e995cdfe3350c211dc65613bb91e24baeb..1167485057d1f7a7881da4e4dd66835b32836ffd 100644 (file)
@@ -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
index bf8a2026f3466d3335be6543e1da6fd7a30c1a50..07cfc0e4fe746c876f5fa34bf80b505472ccedf9 100644 (file)
@@ -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;