mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 08:21:05 -05:00
With clang 15, the following -Werror warning is produced:
sys/dev/ofw/openfirm.c:826:9: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
OF_enter()
^
void
This is because OF_enter() and OF_exit are declared with a (void)
argument list, but defined with an empty argument list. Make the
definition match the declaration.
Sponsored by: The FreeBSD Foundation
|
||
|---|---|---|
| .. | ||
| ofw_bus.h | ||
| ofw_bus_if.m | ||
| ofw_bus_subr.c | ||
| ofw_bus_subr.h | ||
| ofw_console.c | ||
| ofw_cpu.c | ||
| ofw_cpu.h | ||
| ofw_disk.c | ||
| ofw_fdt.c | ||
| ofw_graph.c | ||
| ofw_graph.h | ||
| ofw_if.m | ||
| ofw_pci.c | ||
| ofw_pci.h | ||
| ofw_pcib.c | ||
| ofw_standard.c | ||
| ofw_subr.c | ||
| ofw_subr.h | ||
| ofwbus.c | ||
| ofwpci.h | ||
| ofwvar.h | ||
| openfirm.c | ||
| openfirm.h | ||
| openfirmio.c | ||
| openfirmio.h | ||