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
Unknown Object (File)
Sat, Jul 4, 9:04 AM
Unknown Object (File)
Sat, Jul 4, 8:08 AM
Unknown Object (File)
Sat, Jul 4, 8:04 AM
Unknown Object (File)
Sat, Jul 4, 8:04 AM
Unknown Object (File)
Sat, Jul 4, 6:11 AM
Unknown Object (File)
Sat, Jul 4, 6:07 AM
Unknown Object (File)
Sat, Jul 4, 6:04 AM
Unknown Object (File)
Sat, Jul 4, 5:32 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 74117
Build 71000: arc lint + arc unit

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().