Page MenuHomeFreeBSD

aq(4): make aq_device.h self-contained
Needs ReviewPublic

Authored by nick_spun.io on Mon, Jul 20, 1:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 23, 3:08 AM
Unknown Object (File)
Wed, Jul 22, 4:13 AM
Unknown Object (File)
Mon, Jul 20, 2:29 AM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

The header declares struct aq_dev in terms of iflib, bitstring, socket
and ethernet types without including any of the headers that define
them. It compiles today only because every file that uses it happens
to include those first, so the omission is invisible until something
includes it earlier in the order.

Include what it uses.

No functional change.

Signed-off-by: Nick Price <nick@spun.io>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74941
Build 71824: arc lint + arc unit