mirror of
https://github.com/opnsense/src.git
synced 2026-04-27 09:06:49 -04:00
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h"
in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header
pollution substantially.
EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c
files into appropriate headers (e.g., sys/proc.h, powernv/opal.h).
As a side effect of reduced header pollution, many .c files and headers no
longer contain needed definitions. The remainder of the patch addresses
adding appropriate includes to fix those files.
LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by
sys/mutex.h since r326106 (but silently protected by header pollution prior
to this change).
No functional change (intended). Of course, any out of tree modules that
relied on header pollution for sys/eventhandler.h, sys/lock.h, or
sys/mutex.h inclusion need to be fixed. __FreeBSD_version has been bumped.
|
||
|---|---|---|
| .. | ||
| drm2 | ||
| tegra124 | ||
| as3722.c | ||
| as3722.h | ||
| as3722_gpio.c | ||
| as3722_regulators.c | ||
| as3722_rtc.c | ||
| tegra_abpmisc.c | ||
| tegra_ahci.c | ||
| tegra_efuse.c | ||
| tegra_efuse.h | ||
| tegra_ehci.c | ||
| tegra_gpio.c | ||
| tegra_i2c.c | ||
| tegra_lic.c | ||
| tegra_mc.c | ||
| tegra_pcie.c | ||
| tegra_pinmux.c | ||
| tegra_pmc.h | ||
| tegra_rtc.c | ||
| tegra_sdhci.c | ||
| tegra_soctherm.c | ||
| tegra_soctherm_if.m | ||
| tegra_uart.c | ||
| tegra_usbphy.c | ||
| tegra_xhci.c | ||