opnsense-src/sys/cddl/dev
Dimitry Andric 0beb88a242 Adjust function definition in riscv's dtrace_subr.c to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:

    sys/cddl/dev/dtrace/riscv/dtrace_subr.c:165:17: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    dtrace_gethrtime()
                    ^
                     void

This is because dtrace_gethrtime() is declared with a (void) argument
list, but defined with an empty argument list. Make the definition match
the declaration.

MFC after:	3 days
2022-08-14 21:27:34 +02:00
..
dtmalloc Adjust dtmalloc_unload() definition to avoid clang 15 warning 2022-07-19 20:37:08 +02:00
dtrace Adjust function definition in riscv's dtrace_subr.c to avoid clang 15 warning 2022-08-14 21:27:34 +02:00
fbt fbt/x86: Extract arg1 for return probes from the trapframe 2022-08-09 18:34:01 -04:00
profile Adjust profile_unload() definition to avoid clang 15 warning 2022-07-19 20:42:52 +02:00
sdt sdt: Create providers and probes in separate passes when loading sdt.ko 2020-12-03 17:10:00 +00:00
systrace kern: drop remaining references to removed makesyscalls.sh 2021-09-09 19:40:54 -05:00
prototype.c Adjust prototype_unload() definition to avoid clang 15 warning 2022-07-20 17:13:49 +02:00