From 352bf1bda2d4c0d08e9b674702d8ba754f4d1747 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 30 Apr 2006 01:08:52 +0000 Subject: Move init.h to gpxe/init.h. --- src/net/netdevice.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/net') diff --git a/src/net/netdevice.c b/src/net/netdevice.c index 19db792e6..47b37cf73 100644 --- a/src/net/netdevice.c +++ b/src/net/netdevice.c @@ -24,6 +24,7 @@ #include #include #include +#include #include /** @file @@ -287,8 +288,6 @@ int net_rx_process ( struct pk_buff *pkb ) { return 0; } - - /** * Single-step the network stack * @@ -318,10 +317,9 @@ static struct process net_process = { .step = net_step, }; +/** Initialise the networking stack process */ static void init_net ( void ) { schedule ( &net_process ); } -#include - -INIT_FN ( INIT_RPC, init_net, NULL, NULL ); +INIT_FN ( INIT_PROCESS, init_net, NULL, NULL ); -- cgit v1.2.3-55-g7522