Page MenuHomeFreeBSD

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

Authored by nick_spun.io on Mon, Jul 20, 1:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 28, 8:41 PM
Unknown Object (File)
Sun, Jul 26, 11:53 AM
Unknown Object (File)
Sun, Jul 26, 5:58 AM
Unknown Object (File)
Sun, Jul 26, 3:22 AM
Unknown Object (File)
Sat, Jul 25, 8:13 PM
Unknown Object (File)
Sat, Jul 25, 3:01 PM
Unknown Object (File)
Sat, Jul 25, 11:08 AM
Unknown Object (File)
Sat, Jul 25, 6:50 AM
Subscribers

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

Event Timeline

Superseded by a consolidated aq(4) series; abandoning in favor of new revisions.