opnsense-src/sys/compat
Warner Losh 16672453f1 cdefs: Add __deprecated
Add __deprecated decorator. This is for a deprecated interface. copystr
is tagged with this today in copy(9), but don't actually provide it or
use it. copystr is a #define so adding it will have to wait.

LinuxKPI was defining this away completely in compiler.h. Since this is
shared between Linux KPI consumers and OpenZFS, if it's already defined,
use the FreeBSD sys/cdefs.h version, otherwise define it away. For
OpenZFS this will retain it, while for Linux KPI it will tend to drop it
(I think always, but I didn't look at everything).

Sponsored by:		Netflix
Reviewed by:		jhb, emaste
Differential Revision:	https://reviews.freebsd.org/D46137
2024-10-15 15:05:49 -06:00
..
freebsd32 sysent: regen comments 2024-10-01 18:46:40 +01:00
ia32 freebsd32: struct siginfo32 -> struct __siginfo32 2024-03-19 23:13:26 +00:00
lindebugfs LinuxKPI/lindebugfs: stop panicing in lindebugfs, fix simple_read_from_buffer 2024-07-26 10:53:55 +00:00
linprocfs linprocfs: Add support for proc/sys/fs/mqueue/* 2024-05-23 13:40:45 -06:00
linsysfs linsysfs(5): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743 2023-08-18 13:12:02 +03:00
linux linux.h: don't redefine lower_32_bits if already defined 2024-10-15 04:50:44 -06:00
linuxkpi cdefs: Add __deprecated 2024-10-15 15:05:49 -06:00
x86bios Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00