Page MenuHomeFreeBSD

Include the correct header for pdfork()'s prototype.

Authored by jhb on Jan 21 2022, 5:26 PM.


Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb requested review of this revision.Jan 21 2022, 5:26 PM

CheriBSD is pickier about missing prototypes (-Wmissing-prototypes is treated as fatal) which is how I found this.

This revision is now accepted and ready to land.Jan 21 2022, 5:59 PM

May be userspace part of sys/procdesc.h is better suited for sys/unistd.h in fact.