Commit 9fafc9eaf0d1cf3894b0b611f2104ef376f2594f

Authored by bellard
1 parent 1ef59d0a

avoid errno variable name


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@766 c046a42c-6fe2-441c-8c8c-71466251a162
slirp/slirp.h
... ... @@ -295,7 +295,7 @@ int tcp_attach _P((struct socket *));
295 295 u_int8_t tcp_tos _P((struct socket *));
296 296 int tcp_emu _P((struct socket *, struct mbuf *));
297 297 int tcp_ctl _P((struct socket *));
298   -struct tcpcb *tcp_drop(struct tcpcb *tp, int errno);
  298 +struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
299 299  
300 300 #ifdef USE_PPP
301 301 #define MIN_MRU MINMRU
... ...
slirp/tcp_subr.c
... ... @@ -240,7 +240,7 @@ tcp_newtcpcb(so)
240 240 * the specified error. If connection is synchronized,
241 241 * then send a RST to peer.
242 242 */
243   -struct tcpcb *tcp_drop(struct tcpcb *tp, int errno)
  243 +struct tcpcb *tcp_drop(struct tcpcb *tp, int err)
244 244 {
245 245 /* tcp_drop(tp, errno)
246 246 register struct tcpcb *tp;
... ...