]> git.hungrycats.org Git - linux/commitdiff
Add forward-declaration of "struct nfs4_client" to make
authorLinus Torvalds <torvalds@home.osdl.org>
Mon, 9 Feb 2004 08:25:04 +0000 (00:25 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 9 Feb 2004 08:25:04 +0000 (00:25 -0800)
nfs_idmap.h independent of CONFIG_NFS4 and other header
files.

include/linux/nfs_idmap.h

index 50df56b5a01e09fbfac93a0059593dadff78edcc..a0f1f25e0ead2fa7f2dc2184478d310943a353c6 100644 (file)
@@ -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 *);