opnsense-src/sys/dev/ofw
Andrew Turner 36e31c79ce Adjust function definition in ofw to avoid clang 15 warning
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

(cherry picked from commit ec666d187d)
2022-08-22 10:11:29 +01:00
..
ofw_bus.h
ofw_bus_if.m
ofw_bus_subr.c Fix error value returned by ofw_bus_gen_get_node(). 2022-01-20 11:00:55 +01:00
ofw_bus_subr.h
ofw_console.c
ofw_cpu.c ofw_cpu: Make ext_resources non-optional for arm* and riscv 2022-05-16 13:45:38 +02:00
ofw_cpu.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
ofw_disk.c
ofw_fdt.c Add serial-number to hw.fdt sysctl area if found in fdt. 2022-03-09 09:28:28 -06:00
ofw_graph.c
ofw_graph.h
ofw_if.m
ofw_pci.h
ofw_standard.c
ofw_subr.c
ofw_subr.h
ofwbus.c
ofwpci.c
ofwpci.h
ofwvar.h
openfirm.c Adjust function definition in ofw to avoid clang 15 warning 2022-08-22 10:11:29 +01:00
openfirm.h
openfirmio.c Suppress D_NEEDGIANT warnings for some drivers 2021-06-14 16:25:14 -04:00
openfirmio.h