Page MenuHomeFreeBSD

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

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

Details

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.