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
56d037c684
commit
680f22fbfe
@ -149,6 +149,7 @@ struct exec {
|
|||||||
|
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
struct thread;
|
struct thread;
|
||||||
|
struct vnode;
|
||||||
|
|
||||||
int aout_coredump(struct thread *td, struct vnode *vp, off_t limit);
|
int aout_coredump(struct thread *td, struct vnode *vp, off_t limit);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user