]> git.sur5r.net Git - u-boot/commitdiff
Patch by Andreas Engel, 16 Aug 2004:
authorwdenk <wdenk>
Sat, 9 Oct 2004 21:56:21 +0000 (21:56 +0000)
committerwdenk <wdenk>
Sat, 9 Oct 2004 21:56:21 +0000 (21:56 +0000)
parameter type cleanup for NetSetTimeout()

include/net.h
net/net.c

index 5a6b8083b3ae4bf636251e306b6cfa363a95eb9a..9e5543086d42f40d15e8409380ea9a2beff36639 100644 (file)
@@ -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);
index 261f7c187dd95b3ea97a1c9afa21eb2b0965336c..90315ca7e20e11dfa87610cd0a72fc7d1c2e9153 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -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;