mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05: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.
|
||
|---|---|---|
| .. | ||
| Osd | ||
| acpi.c | ||
| acpi_acad.c | ||
| acpi_battery.c | ||
| acpi_bus_if.m | ||
| acpi_button.c | ||
| acpi_cmbat.c | ||
| acpi_container.c | ||
| acpi_cpu.c | ||
| acpi_dock.c | ||
| acpi_ec.c | ||
| acpi_hpet.c | ||
| acpi_hpet.h | ||
| acpi_if.m | ||
| acpi_isab.c | ||
| acpi_lid.c | ||
| acpi_package.c | ||
| acpi_pci.c | ||
| acpi_pci_link.c | ||
| acpi_pcib.c | ||
| acpi_pcib_acpi.c | ||
| acpi_pcib_pci.c | ||
| acpi_pcibvar.h | ||
| acpi_pcivar.h | ||
| acpi_perf.c | ||
| acpi_powerres.c | ||
| acpi_pxm.c | ||
| acpi_quirk.c | ||
| acpi_quirks | ||
| acpi_resource.c | ||
| acpi_smbat.c | ||
| acpi_smbus.h | ||
| acpi_thermal.c | ||
| acpi_throttle.c | ||
| acpi_timer.c | ||
| acpi_video.c | ||
| acpiio.h | ||
| acpivar.h | ||