Page MenuHomeFreeBSD

sdiob: Forward-declare struct sdio_func
ClosedPublic

Authored by jhb on Feb 18 2026, 3:48 PM.
Tags
None
Referenced Files
F159618356: D55351.diff
Tue, Jun 16, 8:26 AM
Unknown Object (File)
Sun, Jun 7, 7:14 AM
Unknown Object (File)
Sat, Jun 6, 8:08 AM
Unknown Object (File)
Sat, Jun 6, 5:59 AM
Unknown Object (File)
Thu, Jun 4, 7:44 PM
Unknown Object (File)
Sun, May 17, 2:30 PM
Unknown Object (File)
May 17 2026, 5:50 AM
Unknown Object (File)
May 16 2026, 6:28 PM
Subscribers
None

Details

Summary

Currently this happens as a side effect of the return type of
sdio_get_function() in the expansion of BUS_ACCESSOR, but this is
fragile and can break if
BUS_ACCESSOR changes to define other
functions first.

Diff Detail

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