Page MenuHomeFreeBSD

libnetbsd: Avoid bringing in all of param.h
ClosedPublic

Authored by markj on Jun 22 2026, 8:21 PM.
Tags
None
Referenced Files
F167378169: D57754.id180327.diff
Fri, Aug 21, 11:17 AM
F167364100: D57754.id180327.diff
Fri, Aug 21, 8:38 AM
Unknown Object (File)
Thu, Aug 20, 3:21 PM
Unknown Object (File)
Thu, Aug 13, 12:41 AM
Unknown Object (File)
Wed, Aug 12, 9:46 AM
Unknown Object (File)
Wed, Aug 12, 9:45 AM
Unknown Object (File)
Mon, Aug 10, 2:11 PM
Unknown Object (File)
Mon, Aug 10, 6:49 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.Jun 22 2026, 8:21 PM
This revision is now accepted and ready to land.Jun 24 2026, 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().