From 89349d7fad252f0b36be4a764369e6dd40a2e692 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 3 Jul 2007 23:09:56 +0100 Subject: Separated out initialisation functions from startup/shutdown functions. --- src/proto/nfs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/proto') diff --git a/src/proto/nfs.c b/src/proto/nfs.c index e21503c29..668948afe 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, -- cgit v1.2.3-55-g7522