--- src/sys/sys/filedesc.h 2003/10/13 21:15:48 1.7 +++ src/sys/sys/filedesc.h 2004/11/12 00:09:27 1.8 @@ -165,7 +165,8 @@ int dupfdopen (struct filedesc *, int, i int fdalloc (struct proc *p, int want, int *result); int fdavail (struct proc *p, int n); int falloc (struct proc *p, struct file **resultfp, int *resultfd); -void fsetcred(struct file *fp, struct ucred *cr); +int fsetfd (struct proc *p, struct file *fp, int *resultfd); +void fsetcred (struct file *fp, struct ucred *cr); void ffree (struct file *); struct filedesc *fdinit (struct proc *p); struct filedesc *fdshare (struct proc *p);