mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 08:00:48 +01:00
Prototype getvnode() in the right place (where ibcs2_stat.c can see it).
This commit is contained in:
parent
d82e286489
commit
046bc05396
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12061
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94
|
||||
* $Id: vfs_syscalls.c,v 1.34 1995/10/08 00:06:10 swallace Exp $
|
||||
* $Id: vfs_syscalls.c,v 1.35 1995/10/22 09:32:28 davidg Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -61,7 +61,6 @@
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
static int change_dir __P((struct nameidata *ndp, struct proc *p));
|
||||
int getvnode __P((struct filedesc *, int, struct file **));
|
||||
|
||||
/*
|
||||
* Virtual File System System Calls
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94
|
||||
* $Id: vfs_syscalls.c,v 1.34 1995/10/08 00:06:10 swallace Exp $
|
||||
* $Id: vfs_syscalls.c,v 1.35 1995/10/22 09:32:28 davidg Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -61,7 +61,6 @@
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
static int change_dir __P((struct nameidata *ndp, struct proc *p));
|
||||
int getvnode __P((struct filedesc *, int, struct file **));
|
||||
|
||||
/*
|
||||
* Virtual File System System Calls
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)filedesc.h 8.1 (Berkeley) 6/2/93
|
||||
* $Id: filedesc.h,v 1.5 1995/03/16 18:16:16 bde Exp $
|
||||
* $Id: filedesc.h,v 1.6 1995/05/30 08:14:20 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_FILEDESC_H_
|
||||
@ -104,6 +104,7 @@ struct filedesc *fdcopy __P((struct proc *p));
|
||||
void fdfree __P((struct proc *p));
|
||||
int closef __P((struct file *fp,struct proc *p));
|
||||
void fdcloseexec __P((struct proc *p));
|
||||
int getvnode __P((struct filedesc *fdp, int fd, struct file **fpp));
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user