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:
parent
50afb0aebb
commit
3989bbf091
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user