summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_common.h
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1995-08-24 10:45:16 +0000
committerdfr <dfr@FreeBSD.org>1995-08-24 10:45:16 +0000
commitc71eae2a83bfd2ecf4e37db882d02e974ad457e3 (patch)
tree0c84cae46b51487b1c9b9a19994ce716991865db /sys/nfs/nfs_common.h
parent0af2eee79d716c53af10a0fe3d3d7d63ed157799 (diff)
downloadFreeBSD-src-c71eae2a83bfd2ecf4e37db882d02e974ad457e3.zip
FreeBSD-src-c71eae2a83bfd2ecf4e37db882d02e974ad457e3.tar.gz
Some fixes found using gcc -Wall:
nfsm_rpchead() has been called with the wrong number of args and misplaced args since someone added new args in the middle for nfsv3. Here's another one that would be important on 64-bit systems. VOP_READDIR takes a `u_int **cookies' arg. Submitted by: Bruce Evans <bde@zeta.org.au>
Diffstat (limited to 'sys/nfs/nfs_common.h')
-rw-r--r--sys/nfs/nfs_common.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/nfs/nfs_common.h b/sys/nfs/nfs_common.h
index 9e89c57..f935b7a 100644
--- a/sys/nfs/nfs_common.h
+++ b/sys/nfs/nfs_common.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfsm_subs.h 8.1 (Berkeley) 6/16/93
- * $Id: nfsm_subs.h,v 1.6 1995/05/30 08:12:51 rgrimes Exp $
+ * $Id: nfsm_subs.h,v 1.7 1995/06/27 11:06:55 dfr Exp $
*/
#ifndef _NFS_NFSM_SUBS_H_
@@ -50,7 +50,13 @@
/*
* First define what the actual subs. return
*/
-extern struct mbuf *nfsm_reqh();
+struct mbuf *nfsm_reqh __P((struct vnode *vp, u_long procid, int hsiz,
+ caddr_t *bposp));
+struct mbuf *nfsm_rpchead __P((struct ucred *cr, int nmflag, int procid,
+ int auth_type, int auth_len, char *auth_str,
+ int verf_len, char *verf_str,
+ struct mbuf *mrest, int mrest_len,
+ struct mbuf **mbp, u_long *xidp));
#define M_HASCL(m) ((m)->m_flags & M_EXT)
#define NFSMINOFF(m) \
OpenPOWER on IntegriCloud