提交 3e01d75f 编写于 作者: W wdenk

Patch by Andreas Engel, 16 Aug 2004:

parameter type cleanup for NetSetTimeout()
上级 a5bbcc3c
......@@ -374,7 +374,7 @@ extern uint NetCksum(uchar *, int); /* Calculate the checksum */
/* Set callbacks */
extern void NetSetHandler(rxhand_f *); /* Set RX packet handler */
extern void NetSetTimeout(int, thand_f *); /* Set timeout handler */
extern void NetSetTimeout(ulong, thand_f *);/* Set timeout handler */
/* Transmit "NetTxPacket" */
extern void NetSendPacket(volatile uchar *, int);
......
......@@ -585,7 +585,7 @@ NetSetHandler(rxhand_f * f)
void
NetSetTimeout(int iv, thand_f * f)
NetSetTimeout(ulong iv, thand_f * f)
{
if (iv == 0) {
timeHandler = (thand_f *)0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册