Add some prototypes.
This commit is contained in:
parent
9bf7a8942d
commit
5a9d28f992
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)mount.h 8.13 (Berkeley) 3/27/94
|
||||
* $Id: mount.h,v 1.4 1994/08/21 04:41:53 paul Exp $
|
||||
* $Id: mount.h,v 1.5 1994/08/22 14:09:51 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_MOUNT_H_
|
||||
@ -396,6 +396,7 @@ struct nfs_args {
|
||||
*/
|
||||
int dounmount __P((struct mount *, int, struct proc *));
|
||||
struct mount *getvfs __P((fsid_t *)); /* return vfs given fsid */
|
||||
int vflush __P((struct mount *mp, struct vnode *skipvp, int flags));
|
||||
int vfs_export /* process mount export info */
|
||||
__P((struct mount *, struct netexport *, struct export_args *));
|
||||
struct netcred *vfs_export_lookup /* lookup host in fs export list */
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)systm.h 8.4 (Berkeley) 2/23/94
|
||||
* $Id: systm.h,v 1.8 1994/08/21 04:42:01 paul Exp $
|
||||
* $Id: systm.h,v 1.9 1994/08/24 11:51:46 sos Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSTM_H_
|
||||
@ -127,6 +127,7 @@ void ttyprintf __P((struct tty *, const char *, ...));
|
||||
|
||||
void bcopy __P((const void *from, void *to, u_int len));
|
||||
void ovbcopy __P((const void *from, void *to, u_int len));
|
||||
void blkclr __P((void *buf, u_int len));
|
||||
void bzero __P((void *buf, u_int len));
|
||||
|
||||
int copystr __P((void *kfaddr, void *kdaddr, u_int len, u_int *done));
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)uio.h 8.5 (Berkeley) 2/22/94
|
||||
* $Id$
|
||||
* $Id: uio.h,v 1.2 1994/08/02 07:54:02 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_UIO_H_
|
||||
@ -73,12 +73,19 @@ struct uio {
|
||||
#define UIO_SMALLIOV 8 /* 8 on stack, else malloc */
|
||||
#endif /* KERNEL */
|
||||
|
||||
#ifndef KERNEL
|
||||
#ifdef KERNEL
|
||||
|
||||
int uiomove __P((caddr_t, int, struct uio *));
|
||||
|
||||
#else /* !KERNEL */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
ssize_t readv __P((int, const struct iovec *, int));
|
||||
ssize_t writev __P((int, const struct iovec *, int));
|
||||
__END_DECLS
|
||||
#endif /* !KERNEL */
|
||||
|
||||
#endif /* KERNEL */
|
||||
|
||||
#endif /* !_SYS_UIO_H_ */
|
||||
|
@ -31,11 +31,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vnode.h 8.7 (Berkeley) 2/4/94
|
||||
* $Id: vnode.h,v 1.3 1994/08/21 04:42:15 paul Exp $
|
||||
* $Id: vnode.h,v 1.4 1994/08/29 06:09:11 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_VNODE_H_
|
||||
#define _SYS_VNODE_H_
|
||||
#define _SYS_VNODE_H_
|
||||
|
||||
#include <sys/queue.h>
|
||||
|
||||
@ -357,6 +357,7 @@ struct vop_generic_args {
|
||||
/*
|
||||
* Public vnode manipulation functions.
|
||||
*/
|
||||
struct componentname;
|
||||
struct file;
|
||||
struct mount;
|
||||
struct nameidata;
|
||||
@ -369,6 +370,12 @@ struct vnode;
|
||||
struct vop_bwrite_args;
|
||||
|
||||
int bdevvp __P((dev_t dev, struct vnode **vpp));
|
||||
/* cache_* may belong in namei.h. */
|
||||
void cache_enter __P((struct vnode *dvp, struct vnode *vp,
|
||||
struct componentname *cnp));
|
||||
int cache_lookup __P((struct vnode *dvp, struct vnode **vpp,
|
||||
struct componentname *cnp));
|
||||
void cache_purge __P((struct vnode *vp));
|
||||
int getnewvnode __P((enum vtagtype tag,
|
||||
struct mount *mp, int (**vops)(), struct vnode **vpp));
|
||||
int vinvalbuf __P((struct vnode *vp, int save, struct ucred *cred,
|
||||
@ -393,9 +400,10 @@ int vn_stat __P((struct vnode *vp, struct stat *sb, struct proc *p));
|
||||
int vn_write __P((struct file *fp, struct uio *uio, struct ucred *cred));
|
||||
struct vnode *
|
||||
checkalias __P((struct vnode *vp, dev_t nvp_rdev, struct mount *mp));
|
||||
void vprint __P((char *, struct vnode *));
|
||||
void vput __P((struct vnode *vp));
|
||||
void vref __P((struct vnode *vp));
|
||||
void vrele __P((struct vnode *vp));
|
||||
#endif /* KERNEL */
|
||||
|
||||
#endif
|
||||
#endif /* !_SYS_VNODE_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user