summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bsppost.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-24 14:30:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-26 10:57:08 +0200
commita290fbe946944385480cff7b388a6cd8b9d27d38 (patch)
tree0304af8b9649aa9b8073b13027d1f81ed07bfbff /c/src/lib/libbsp/shared/bsppost.c
parentlibcsupport: Remove superfluous assignments (diff)
downloadrtems-a290fbe946944385480cff7b388a6cd8b9d27d38.tar.bz2
libcsupport: Make LibIO helper const
Add and use rtems_libio_helper function type. Add and use rtems_libio_helper_null() instead of NULL pointer.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/shared/bsppost.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/shared/bsppost.c b/c/src/lib/libbsp/shared/bsppost.c
index ec5e57ddf3..351e4d789c 100644
--- a/c/src/lib/libbsp/shared/bsppost.c
+++ b/c/src/lib/libbsp/shared/bsppost.c
@@ -12,16 +12,11 @@
* http://www.rtems.com/license/LICENSE.
*/
-#include <fcntl.h>
-
-#include <rtems.h>
#include <rtems/libio.h>
-#include <rtems/libcsupport.h>
#include <bsp/bootcard.h>
void bsp_postdriver_hook(void)
{
- if (rtems_libio_supp_helper)
- (*rtems_libio_supp_helper)();
+ (*rtems_libio_supp_helper)();
}