Page MenuHomeFreeBSD

libnetbsd: Avoid bringing in all of param.h
ClosedPublic

Authored by markj on Mon, Jun 22, 8:21 PM.
Tags
None
Referenced Files
F160638432: D57754.diff
Fri, Jun 26, 9:51 AM
Unknown Object (File)
Thu, Jun 25, 1:07 PM
Unknown Object (File)
Tue, Jun 23, 5:34 AM
Subscribers

Details

Summary

It's okay to hard-code NBBY, the value is unlikely to change. The
pollution makes it harder to import test code from NetBSD since it can
introduce conflicting definitions.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Mon, Jun 22, 8:21 PM
This revision is now accepted and ready to land.Wed, Jun 24, 7:39 AM

What are the conflicting symbols BTW?

What are the conflicting symbols BTW?

I ported some tests which have not been committed yet to NetBSD, they failed to build due to a duplicate definition of MIN().