posix: signals: deprecate CONFIG_POSIX_LIMITS_RTSIG_MAX

There were two Kconfig constants defined for (effectively) the
same thing in Zephyr. Namely, RTSIG_MAX - the highest valued
real-time signal.

Deprecate CONFIG_POSIX_LIMITS_RTSIG_MAX in favour of
CONFIG_POSIX_RTSIG_MAX since the latter more closely matches
convention.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2024-05-20 21:51:50 -04:00 committed by David Leach
commit e2fc78af23
4 changed files with 22 additions and 13 deletions

View file

@ -5,4 +5,14 @@
# This file should be removed after Zephyr 4.0 is released
menu "Deprecated POSIX options"
config POSIX_LIMITS_RTSIG_MAX
int "_POSIX_RTSIG_MAX value in limits.h [DEPRECATED]"
default POSIX_RTSIG_MAX if POSIX_REALTIME_SIGNALS
default 0
help
This option is deprecated.
Please use CONFIG_POSIX_RTSIG_MAX instead.
endmenu