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/score | |
parent | Make rtems/print.h independent of rtems/bspIo.h (diff) | |
download | rtems-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 'cpukit/score')
-rw-r--r-- | cpukit/score/src/cpusetprintsupport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/cpusetprintsupport.c b/cpukit/score/src/cpusetprintsupport.c index 83345d985c..13cffd9242 100644 --- a/cpukit/score/src/cpusetprintsupport.c +++ b/cpukit/score/src/cpusetprintsupport.c @@ -23,7 +23,7 @@ #include <stdio.h> #include <ctype.h> #include <inttypes.h> -#include <rtems/print.h> +#include <rtems/printer.h> #include <rtems/score/cpusetimpl.h> #ifdef __RTEMS_HAVE_SYS_CPUSET_H__ @@ -49,7 +49,7 @@ int i; rtems_printf(printer ,"%s: ", description); for(i=0; i<_NCPUWORDS; i++) - rtems_printf(printer ,"%x", cpuset->__bits[i]); + rtems_printf(printer ,"%" PRIx32 "", cpuset->__bits[i]); rtems_printf(printer ,"\n"); } |