summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_top.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-21 13:30:15 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-22 07:29:26 +0200
commit506bfc8580c365c48f2200772ddd0985e661ae34 (patch)
tree66f6c17573377ee1e14556d102df974db66e2a23 /cpukit/libmisc/shell/main_top.c
parentMake rtems/print.h independent of rtems/bspIo.h (diff)
downloadrtems-506bfc8580c365c48f2200772ddd0985e661ae34.tar.bz2
Move printer initialization to separate header
The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/shell/main_top.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/main_top.c b/cpukit/libmisc/shell/main_top.c
index aea50d80fb..1596ff04ff 100644
--- a/cpukit/libmisc/shell/main_top.c
+++ b/cpukit/libmisc/shell/main_top.c
@@ -18,6 +18,7 @@
#include <rtems.h>
#include <rtems/cpuuse.h>
+#include <rtems/printer.h>
#include <rtems/shell.h>
#include "internal.h"