mirror of
https://github.com/opnsense/src.git
synced 2026-03-16 07:41:02 -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.
|
||
|---|---|---|
| .. | ||
| if_iwm.c | ||
| if_iwm_7000.c | ||
| if_iwm_8000.c | ||
| if_iwm_binding.c | ||
| if_iwm_binding.h | ||
| if_iwm_config.h | ||
| if_iwm_constants.h | ||
| if_iwm_debug.h | ||
| if_iwm_fw.c | ||
| if_iwm_fw.h | ||
| if_iwm_led.c | ||
| if_iwm_led.h | ||
| if_iwm_mac_ctxt.c | ||
| if_iwm_mac_ctxt.h | ||
| if_iwm_notif_wait.c | ||
| if_iwm_notif_wait.h | ||
| if_iwm_pcie_trans.c | ||
| if_iwm_pcie_trans.h | ||
| if_iwm_phy_ctxt.c | ||
| if_iwm_phy_ctxt.h | ||
| if_iwm_phy_db.c | ||
| if_iwm_phy_db.h | ||
| if_iwm_power.c | ||
| if_iwm_power.h | ||
| if_iwm_scan.c | ||
| if_iwm_scan.h | ||
| if_iwm_sf.c | ||
| if_iwm_sf.h | ||
| if_iwm_sta.c | ||
| if_iwm_sta.h | ||
| if_iwm_time_event.c | ||
| if_iwm_time_event.h | ||
| if_iwm_util.c | ||
| if_iwm_util.h | ||
| if_iwmreg.h | ||
| if_iwmvar.h | ||