summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2021-05-21 16:30:20 -0500
committerJoel Sherrill <joel@rtems.org>2021-05-25 08:33:04 -0500
commit76d5722b4a1adba2aa52043a83c7fa0fcff2a0d4 (patch)
tree14b5b8d012ff64d2ca825689a9414cb026a21a3d /cpukit/libcsupport/src
parentpowerpc/.../sbrk.c: Do not reference errno. (diff)
downloadrtems-76d5722b4a1adba2aa52043a83c7fa0fcff2a0d4.tar.bz2
sysinit: Do not open console when just referencing reentrancy structure.
This change eliminates a system initialization dependentcy which resulted in an application without a file system or console referencing errno being forced to include the code to open(/dev/console), close(), atexit(), and the unmount infrastructure. Closes #4439.
Diffstat (limited to '')
-rw-r--r--cpukit/libcsupport/src/libio_init.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpukit/libcsupport/src/libio_init.c b/cpukit/libcsupport/src/libio_init.c
index d5814ca5a2..2bfc7664d7 100644
--- a/cpukit/libcsupport/src/libio_init.c
+++ b/cpukit/libcsupport/src/libio_init.c
@@ -65,9 +65,3 @@ RTEMS_SYSINIT_ITEM(
RTEMS_SYSINIT_LIBIO,
RTEMS_SYSINIT_ORDER_MIDDLE
);
-
-RTEMS_SYSINIT_ITEM(
- rtems_libio_post_driver,
- RTEMS_SYSINIT_STD_FILE_DESCRIPTORS,
- RTEMS_SYSINIT_ORDER_MIDDLE
-);