aboutsummaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-07-03 23:09:56 +0100
committerMichael Brown <mcb30@etherboot.org>2007-07-03 23:09:56 +0100
commit89349d7fad252f0b36be4a764369e6dd40a2e692 (patch)
tree72b112d6152fadee77673994f1e92b82a9c506e8 /src/proto
parenta5f33ea28393218f6683ce270074ce0d0eb192e5 (diff)
downloadipxe-89349d7fad252f0b36be4a764369e6dd40a2e692.tar.gz
Separated out initialisation functions from startup/shutdown functions.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/nfs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/proto/nfs.c b/src/proto/nfs.c
index e21503c2..668948af 100644
--- a/src/proto/nfs.c
+++ b/src/proto/nfs.c
@@ -32,7 +32,7 @@ static unsigned long rpc_id;
/**************************************************************************
RPC_INIT - set up the ID counter to something fairly random
**************************************************************************/
-static void rpc_init(void)
+void rpc_init(void)
{
unsigned long t;
@@ -608,8 +608,6 @@ nfssymlink:
return 1;
}
-INIT_FN ( INIT_RPC, rpc_init, nfs_reset );
-
struct protocol nfs_protocol __protocol = {
.name = "nfs",
.default_port = SUNRPC_PORT,