From d9efde4dda528c08db2e64f1624ca13d91910fdd Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 9 Feb 2004 00:25:04 -0800 Subject: Add forward-declaration of "struct nfs4_client" to make nfs_idmap.h independent of CONFIG_NFS4 and other header files. --- include/linux/nfs_idmap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/linux') diff --git a/include/linux/nfs_idmap.h b/include/linux/nfs_idmap.h index 50df56b5a01e..a0f1f25e0ead 100644 --- a/include/linux/nfs_idmap.h +++ b/include/linux/nfs_idmap.h @@ -60,6 +60,10 @@ struct idmap_msg { }; #ifdef __KERNEL__ + +/* Forward declaration to make this header independent of others */ +struct nfs4_client; + void nfs_idmap_new(struct nfs4_client *); void nfs_idmap_delete(struct nfs4_client *); -- cgit v1.2.3