summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h
index 942fa4c929e..e7f28d71497 100644
--- a/include/net.h
+++ b/include/net.h
@@ -543,7 +543,7 @@ int NetLoop(enum proto_t);
void NetStop(void);
/* Load failed. Start again. */
-void NetStartAgain(void);
+int NetStartAgain(void);
/* Get size of the ethernet header when we send */
int NetEthHdrSize(void);
@@ -613,6 +613,7 @@ static inline void net_set_state(enum net_loop_state state)
/* Transmit a packet */
static inline void NetSendPacket(uchar *pkt, int len)
{
+ /* Currently no way to return errors from eth_send() */
(void) eth_send(pkt, len);
}