libnetbsd: Make the function declaration of efopen() match the definition
ClosedPublic

Authored by arichardson on Nov 30 2017, 4:41 PM.

Details

Summary

In order to crossbuild FreeBSD on Mac/Linux I also need to build libnetbsd
and FILE* is not equal to struct __sFILE on those platforms.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
arichardson created this revision.Nov 30 2017, 4:41 PM
brooks accepted this revision.Nov 30 2017, 7:26 PM

I'd guess the upstream version used struct __sFILE to avoid header pollution somewhere, but this seems perfectly fine here.

This revision is now accepted and ready to land.Nov 30 2017, 7:26 PM
emaste accepted this revision.Dec 5 2017, 9:05 PM
This revision was automatically updated to reflect the committed changes.