summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/net.c b/net/net.c
index 651f3f7..4c6dfd1 100644
--- a/net/net.c
+++ b/net/net.c
@@ -231,7 +231,7 @@ void net_auto_load(void)
TftpStart(TFTPGET);
}
-static void NetInitLoop(enum proto_t protocol)
+static void NetInitLoop(void)
{
static int env_changed_id;
int env_id = get_env_id();
@@ -311,7 +311,7 @@ restart:
* here on, this code is a state machine driven by received
* packets and timer events.
*/
- NetInitLoop(protocol);
+ NetInitLoop();
switch (net_check_prereq(protocol)) {
case 1: