|
@@ -231,7 +231,7 @@ void net_auto_load(void)
|
|
TftpStart(TFTPGET);
|
|
TftpStart(TFTPGET);
|
|
}
|
|
}
|
|
|
|
|
|
-static void NetInitLoop(enum proto_t protocol)
|
|
|
|
|
|
+static void NetInitLoop(void)
|
|
{
|
|
{
|
|
static int env_changed_id;
|
|
static int env_changed_id;
|
|
int env_id = get_env_id();
|
|
int env_id = get_env_id();
|
|
@@ -311,7 +311,7 @@ restart:
|
|
* here on, this code is a state machine driven by received
|
|
* here on, this code is a state machine driven by received
|
|
* packets and timer events.
|
|
* packets and timer events.
|
|
*/
|
|
*/
|
|
- NetInitLoop(protocol);
|
|
|
|
|
|
+ NetInitLoop();
|
|
|
|
|
|
switch (net_check_prereq(protocol)) {
|
|
switch (net_check_prereq(protocol)) {
|
|
case 1:
|
|
case 1:
|