diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-19 14:20:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-10-13 10:49:21 +0200 |
commit | 9296260a7858f0e9cb4d0123bdabd72f1e457bbd (patch) | |
tree | 1759e33bbd3ffed2fad8007f53ad753ef3f8c036 /include/net.h | |
parent | 3487f1ee8e0345ed22c6097be4466c0b96590604 (diff) | |
download | barebox-9296260a7858f0e9cb4d0123bdabd72f1e457bbd.tar.gz barebox-9296260a7858f0e9cb4d0123bdabd72f1e457bbd.tar.xz |
net: split NetLoop in NetLoop and NetLoopInit
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/net.h')
-rw-r--r-- | include/net.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h index add62733cb..86c3340005 100644 --- a/include/net.h +++ b/include/net.h @@ -315,6 +315,9 @@ extern IPaddr_t NetNtpServerIP; /* the ip address to NTP */ extern int NetTimeOffset; /* offset time from UTC */ /* Initialize the network adapter */ +int NetLoopInit(proto_t); + +/* Do the work */ int NetLoop(proto_t); /* Shutdown adapters and cleanup */ |