Page MenuHomeFreeBSD

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

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



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

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

Event Timeline

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.