diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-21 13:30:15 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-22 07:29:26 +0200 |
commit | 506bfc8580c365c48f2200772ddd0985e661ae34 (patch) | |
tree | 66f6c17573377ee1e14556d102df974db66e2a23 /cpukit/libmisc/cpuuse | |
parent | ede1a4182df68b1191b8ef2031f7a1f14813b525 (diff) |
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 'cpukit/libmisc/cpuuse')
-rw-r--r-- | cpukit/libmisc/cpuuse/cpuusagereport.c | 1 | ||||
-rw-r--r-- | cpukit/libmisc/cpuuse/cpuusagetop.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libmisc/cpuuse/cpuusagereport.c b/cpukit/libmisc/cpuuse/cpuusagereport.c index 2a6eaf348b..370eb05596 100644 --- a/cpukit/libmisc/cpuuse/cpuusagereport.c +++ b/cpukit/libmisc/cpuuse/cpuusagereport.c @@ -25,6 +25,7 @@ #include <inttypes.h> #include <rtems/cpuuse.h> +#include <rtems/printer.h> #include <rtems/score/objectimpl.h> #include <rtems/score/threadimpl.h> #include <rtems/score/todimpl.h> diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/libmisc/cpuuse/cpuusagetop.c index e300ee785c..aa2b74c160 100644 --- a/cpukit/libmisc/cpuuse/cpuusagetop.c +++ b/cpukit/libmisc/cpuuse/cpuusagetop.c @@ -32,6 +32,7 @@ #include <inttypes.h> #include <rtems/cpuuse.h> +#include <rtems/printer.h> #include <rtems/malloc.h> #include <rtems/score/objectimpl.h> #include <rtems/score/protectedheap.h> |