Commit ac3df26f authored by Keith Packard's avatar Keith Packard Committed by Carles Cufi
Browse files

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: default avatarKeith Packard <keithp@keithp.com>
parent 98debeea
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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

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().