Move the prototype for do_posix_fadvise() somewhere useful.
This commit is contained in:
parent
67b0c1ab9c
commit
460b556c90
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern_descrip.c,v 1.170 2008/01/27 16:16:50 martin Exp $ */
|
||||
/* $NetBSD: kern_descrip.c,v 1.171 2008/01/27 19:48:53 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1991, 1993
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_descrip.c,v 1.170 2008/01/27 16:16:50 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_descrip.c,v 1.171 2008/01/27 19:48:53 dsl Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -69,8 +69,6 @@ static int cwdi_ctor(void *, void *, int);
|
|||
static void cwdi_dtor(void *, void *);
|
||||
static int file_ctor(void *, void *, int);
|
||||
static void file_dtor(void *, void *);
|
||||
int do_posix_fadvise(struct lwp *l, int fd, off_t offset,
|
||||
off_t len, int advice, register_t *retval);
|
||||
|
||||
/*
|
||||
* Descriptor management.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: filedesc.h,v 1.44 2008/01/05 23:53:21 ad Exp $ */
|
||||
/* $NetBSD: filedesc.h,v 1.45 2008/01/27 19:48:52 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -170,6 +170,7 @@ struct stat;
|
|||
int do_sys_fstat(struct lwp *, int, struct stat *);
|
||||
struct flock;
|
||||
int do_fcntl_lock(struct lwp *, int, int, struct flock *);
|
||||
int do_posix_fadvise(struct lwp *, int, off_t, off_t, int, register_t *);
|
||||
|
||||
extern kmutex_t filelist_lock;
|
||||
|
||||
|
|
Loading…
Reference in New Issue