+#define NFS_V2 2
+
+#if defined(__STDC__) || defined(__cplusplus)
+#define NFS2_NULL 0
+extern void * nfs2_null_2(void *, CLIENT *);
+extern void * nfs2_null_2_svc(void *, struct svc_req *);
+#define NFS2_GETATTR 1
+extern GETATTR2res * nfs2_getattr_2(GETATTR2args *, CLIENT *);
+extern GETATTR2res * nfs2_getattr_2_svc(GETATTR2args *, struct svc_req *);
+#define NFS2_SETATTR 2
+extern SETATTR2res * nfs2_setattr_2(SETATTR2args *, CLIENT *);
+extern SETATTR2res * nfs2_setattr_2_svc(SETATTR2args *, struct svc_req *);
+#define NFS2_LOOKUP 4
+extern LOOKUP2res * nfs2_lookup_2(LOOKUP2args *, CLIENT *);
+extern LOOKUP2res * nfs2_lookup_2_svc(LOOKUP2args *, struct svc_req *);
+#define NFS2_READLINK 5
+extern READLINK2res * nfs2_readlink_2(READLINK2args *, CLIENT *);
+extern READLINK2res * nfs2_readlink_2_svc(READLINK2args *, struct svc_req *);
+#define NFS2_READ 6
+extern READ2res * nfs2_read_2(READ2args *, CLIENT *);
+extern READ2res * nfs2_read_2_svc(READ2args *, struct svc_req *);
+#define NFS2_WRITE 8
+extern WRITE2res * nfs2_write_2(WRITE2args *, CLIENT *);
+extern WRITE2res * nfs2_write_2_svc(WRITE2args *, struct svc_req *);
+#define NFS2_CREATE 9
+extern CREATE2res * nfs2_create_2(CREATE2args *, CLIENT *);
+extern CREATE2res * nfs2_create_2_svc(CREATE2args *, struct svc_req *);
+#define NFS2_REMOVE 10
+extern REMOVE2res * nfs2_remove_2(REMOVE2args *, CLIENT *);
+extern REMOVE2res * nfs2_remove_2_svc(REMOVE2args *, struct svc_req *);
+#define NFS2_RENAME 11
+extern RENAME2res * nfs2_rename_2(RENAME2args *, CLIENT *);
+extern RENAME2res * nfs2_rename_2_svc(RENAME2args *, struct svc_req *);
+#define NFS2_LINK 12
+extern LINK2res * nfs2_link_2(LINK2args *, CLIENT *);
+extern LINK2res * nfs2_link_2_svc(LINK2args *, struct svc_req *);
+#define NFS2_SYMLINK 13
+extern SYMLINK2res * nfs2_symlink_2(SYMLINK2args *, CLIENT *);
+extern SYMLINK2res * nfs2_symlink_2_svc(SYMLINK2args *, struct svc_req *);
+#define NFS2_MKDIR 14
+extern MKDIR2res * nfs2_mkdir_2(MKDIR2args *, CLIENT *);
+extern MKDIR2res * nfs2_mkdir_2_svc(MKDIR2args *, struct svc_req *);
+#define NFS2_RMDIR 15
+extern RMDIR2res * nfs2_rmdir_2(RMDIR2args *, CLIENT *);
+extern RMDIR2res * nfs2_rmdir_2_svc(RMDIR2args *, struct svc_req *);
+#define NFS2_READDIR 16
+extern READDIR2res * nfs2_readdir_2(READDIR2args *, CLIENT *);
+extern READDIR2res * nfs2_readdir_2_svc(READDIR2args *, struct svc_req *);
+#define NFS2_STATFS 17
+extern STATFS2res * nfs2_statfs_2(STATFS2args *, CLIENT *);
+extern STATFS2res * nfs2_statfs_2_svc(STATFS2args *, struct svc_req *);
+extern int nfs_program_2_freeresult (SVCXPRT *, zdrproc_t, caddr_t);
+
+#else /* K&R C */
+#define NFS2_NULL 0
+extern void * nfs2_null_2();
+extern void * nfs2_null_2_svc();
+#define NFS2_GETATTR 1
+extern GETATTR2res * nfs2_getattr_2();
+extern GETATTR2res * nfs2_getattr_2_svc();
+#define NFS2_SETATTR 2
+extern SETATTR2res * nfs2_setattr_2();
+extern SETATTR2res * nfs2_setattr_2_svc();
+#define NFS2_LOOKUP 4
+extern LOOKUP2res * nfs2_lookup_2();
+extern LOOKUP2res * nfs2_lookup_2_svc();
+#define NFS2_READLINK 5
+extern READLINK2res * nfs2_readlink_2();
+extern READLINK2res * nfs2_readlink_2_svc();
+#define NFS2_READ 6
+extern READ2res * nfs2_read_2();
+extern READ2res * nfs2_read_2_svc();
+#define NFS2_WRITE 8
+extern WRITE2res * nfs2_write_2();
+extern WRITE2res * nfs2_write_2_svc();
+#define NFS2_CREATE 9
+extern CREATE2res * nfs2_create_2();
+extern CREATE2res * nfs2_create_2_svc();
+#define NFS2_REMOVE 10
+extern REMOVE2res * nfs2_remove_2();
+extern REMOVE2res * nfs2_remove_2_svc();
+#define NFS2_RENAME 11
+extern RENAME2res * nfs2_rename_2();
+extern RENAME2res * nfs2_rename_2_svc();
+#define NFS2_LINK 12
+extern LINK2res * nfs2_link_2();
+extern LINK2res * nfs2_link_2_svc();
+#define NFS2_SYMLINK 13
+extern SYMLINK2res * nfs2_symlink_2();
+extern SYMLINK2res * nfs2_symlink_2_svc();
+#define NFS2_MKDIR 14
+extern MKDIR2res * nfs2_mkdir_2();
+extern MKDIR2res * nfs2_mkdir_2_svc();
+#define NFS2_RMDIR 15
+extern RMDIR2res * nfs2_rmdir_2();
+extern RMDIR2res * nfs2_rmdir_2_svc();
+#define NFS2_READDIR 16
+extern READDIR2res * nfs2_readdir_2();
+extern READDIR2res * nfs2_readdir_2_svc();
+#define NFS2_STATFS 17
+extern STATFS2res * nfs2_statfs_2();
+extern STATFS2res * nfs2_statfs_2_svc();
+extern int nfs_program_2_freeresult ();
+#endif /* K&R C */