summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bsplibc.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/bsplibc.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/bsplibc.c')
-rw-r--r--c/src/lib/libbsp/shared/bsplibc.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/c/src/lib/libbsp/shared/bsplibc.c b/c/src/lib/libbsp/shared/bsplibc.c
deleted file mode 100644
index 252a4cd74a..0000000000
--- a/c/src/lib/libbsp/shared/bsplibc.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2008.
- * On-Line Applications Research Corporation (OAR).
- */
-
-#include <rtems/libio.h>
-#include <rtems/libcsupport.h>
-
-#include <bsp/bootcard.h>
-
-void bsp_libc_init(void)
-{
- /*
- * Init the RTEMS libio facility to provide UNIX-like system
- * calls for use by newlib (ie: provide open, close, etc)
- * Uses malloc() to get area for the iops, so must be after malloc init
- */
- (*rtems_libio_init_helper)();
-}