Browse Source

libc/common: Remove redundant Kconfig POSIX_THREAD_SAFE_FUNCTIONS uses

POSIX_THREAD_SAFE_FUNCTIONS already selects POSIX_C_LANG_SUPPORT_R and
POSIX_C_LANG_SUPPORT_R alread selects all of the COMMON_LIBC_*_R values.
That makes the 'default y if POSIX_THREAD_SAFE_FUNCTIONS' clauses in these
symbols redundant.

Signed-off-by: Keith Packard <keithp@keithp.com>
pull/78506/head
Keith Packard 10 months ago committed by Carles Cufí
parent
commit
ac3df26f0a
  1. 2
      lib/libc/common/Kconfig

2
lib/libc/common/Kconfig

@ -13,7 +13,6 @@ config COMMON_LIBC_ASCTIME @@ -13,7 +13,6 @@ config COMMON_LIBC_ASCTIME
config COMMON_LIBC_ASCTIME_R
bool "Thread-safe version of asctime()"
default y if POSIX_THREAD_SAFE_FUNCTIONS
select COMMON_LIBC_ASCTIME
help
common implementation of asctime_r().
@ -26,7 +25,6 @@ config COMMON_LIBC_CTIME @@ -26,7 +25,6 @@ config COMMON_LIBC_CTIME
config COMMON_LIBC_CTIME_R
bool "Thread-safe version of ctime()"
default y if POSIX_THREAD_SAFE_FUNCTIONS
select COMMON_LIBC_CTIME
help
common implementation of ctime_r().

Loading…
Cancel
Save