Forward declare struct vnode so that <sys/vnode.h> or some other header

that happens to forward declare struct vnode isn't a prerequisite (most
places get it from <sys/imgact.h>).
This commit is contained in:
Bruce Evans 2002-09-05 07:54:03 +00:00
parent 56d037c684
commit 680f22fbfe

View File

@ -149,6 +149,7 @@ struct exec {
#ifdef _KERNEL
struct thread;
struct vnode;
int aout_coredump(struct thread *td, struct vnode *vp, off_t limit);
#endif