Separated out initialisation functions from startup/shutdown functions.

This commit is contained in:
Michael Brown
2007-07-03 23:09:56 +01:00
parent a5f33ea283
commit 89349d7fad
23 changed files with 241 additions and 196 deletions

View File

@@ -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,