summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorMichael Brown2007-07-04 00:09:56 +0200
committerMichael Brown2007-07-04 00:09:56 +0200
commit89349d7fad252f0b36be4a764369e6dd40a2e692 (patch)
tree72b112d6152fadee77673994f1e92b82a9c506e8 /src/proto
parentAdded missing line to set return status code. (diff)
downloadipxe-89349d7fad252f0b36be4a764369e6dd40a2e692.tar.gz
ipxe-89349d7fad252f0b36be4a764369e6dd40a2e692.tar.xz
ipxe-89349d7fad252f0b36be4a764369e6dd40a2e692.zip
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,