mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
Patch by Andreas Engel, 16 Aug 2004:
parameter type cleanup for NetSetTimeout()
This commit is contained in:
parent
a5bbcc3c53
commit
3e01d75ff2
2 changed files with 2 additions and 2 deletions
|
@ -374,7 +374,7 @@ extern uint NetCksum(uchar *, int); /* Calculate the checksum */
|
||||||
|
|
||||||
/* Set callbacks */
|
/* Set callbacks */
|
||||||
extern void NetSetHandler(rxhand_f *); /* Set RX packet handler */
|
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" */
|
/* Transmit "NetTxPacket" */
|
||||||
extern void NetSendPacket(volatile uchar *, int);
|
extern void NetSendPacket(volatile uchar *, int);
|
||||||
|
|
|
@ -585,7 +585,7 @@ NetSetHandler(rxhand_f * f)
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
NetSetTimeout(int iv, thand_f * f)
|
NetSetTimeout(ulong iv, thand_f * f)
|
||||||
{
|
{
|
||||||
if (iv == 0) {
|
if (iv == 0) {
|
||||||
timeHandler = (thand_f *)0;
|
timeHandler = (thand_f *)0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue