提交 9fafc9ea 编写于 作者: B bellard

avoid errno variable name


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@766 c046a42c-6fe2-441c-8c8c-71466251a162
上级 1ef59d0a
...@@ -295,7 +295,7 @@ int tcp_attach _P((struct socket *)); ...@@ -295,7 +295,7 @@ int tcp_attach _P((struct socket *));
u_int8_t tcp_tos _P((struct socket *)); u_int8_t tcp_tos _P((struct socket *));
int tcp_emu _P((struct socket *, struct mbuf *)); int tcp_emu _P((struct socket *, struct mbuf *));
int tcp_ctl _P((struct socket *)); 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 #ifdef USE_PPP
#define MIN_MRU MINMRU #define MIN_MRU MINMRU
......
...@@ -240,7 +240,7 @@ tcp_newtcpcb(so) ...@@ -240,7 +240,7 @@ tcp_newtcpcb(so)
* the specified error. If connection is synchronized, * the specified error. If connection is synchronized,
* then send a RST to peer. * 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) /* tcp_drop(tp, errno)
register struct tcpcb *tp; register struct tcpcb *tp;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册