From ba74ebde7461b28bf0261523d4e91e7c0e17b622 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 14 Feb 2020 19:09:56 +0100 Subject: libio: Add POSIX user environment pointer to TCB The IO library used a POSIX key to store an optional POSIX user environment pointer. This pulled in the POSIX keys support in every application configuration. Add a user environment pointer to the thread control block (TCB) instead. Applications which do not need the POSIX user environment will just get an overhead of one pointer per thread. Close #3882. --- cpukit/include/rtems/libio_.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cpukit/include/rtems/libio_.h') diff --git a/cpukit/include/rtems/libio_.h b/cpukit/include/rtems/libio_.h index cf80ea8075..2473bb5e5a 100644 --- a/cpukit/include/rtems/libio_.h +++ b/cpukit/include/rtems/libio_.h @@ -336,10 +336,6 @@ void rtems_filesystem_location_free( rtems_filesystem_location_info_t *loc ); */ #include -void rtems_libio_free_user_env( void *env ); - -extern pthread_key_t rtems_current_user_env_key; - void rtems_libio_lock( void ); void rtems_libio_unlock( void ); -- cgit v1.2.3