summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bsppost.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-25 22:03:00 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-03 10:00:57 +0100
commitca4602e914d4ec00bf5db51e0830d702d5bc3f4e (patch)
tree9f67d1d8b61d97a50452d6011647bcac0bf5f3aa /c/src/lib/libbsp/shared/bsppost.c
parentUse atexit() handler to close std file descriptors (diff)
downloadrtems-ca4602e914d4ec00bf5db51e0830d702d5bc3f4e.tar.bz2
Use linker set for libio initialization
Update #2408.
Diffstat (limited to 'c/src/lib/libbsp/shared/bsppost.c')
-rw-r--r--c/src/lib/libbsp/shared/bsppost.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/c/src/lib/libbsp/shared/bsppost.c b/c/src/lib/libbsp/shared/bsppost.c
deleted file mode 100644
index bd903e4584..0000000000
--- a/c/src/lib/libbsp/shared/bsppost.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * This is a shared BSP post driver hook designed to open
- * /dev/console for stdin, stdout, and stderr if it exists.
- * Newlib will automatically associate the file descriptors
- * with the first three files opened.
- *
- * COPYRIGHT (c) 1989-2008.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#include <rtems/libio.h>
-
-#include <bsp/bootcard.h>
-
-void bsp_postdriver_hook(void)
-{
- (*rtems_libio_post_driver_helper)();
-}