summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-21 14:15:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-22 07:45:12 +0200
commita33bfb6cb154b56d06ebd9ed7cef5b466f14cb8d (patch)
treef807de9c1790d8e13e73be629cfd8b93fcdc2c14
parentMove printer initialization to separate header (diff)
downloadrtems-a33bfb6cb154b56d06ebd9ed7cef5b466f14cb8d.tar.bz2
Avoid <rtems/print.h> in <rtems/rtems/ratemon.h>
This gets rid of the pull in of <stdarg.h> via <rtems.h> via <rtems/rtems/ratemon.h> via <rtems/print.h>.
-rw-r--r--cpukit/rtems/include/rtems/rtems/ratemon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/ratemon.h b/cpukit/rtems/include/rtems/rtems/ratemon.h
index 6e8fab64d5..3203eab394 100644
--- a/cpukit/rtems/include/rtems/rtems/ratemon.h
+++ b/cpukit/rtems/include/rtems/rtems/ratemon.h
@@ -35,7 +35,8 @@
#include <rtems/rtems/status.h>
#include <rtems/score/thread.h>
#include <rtems/score/watchdog.h>
-#include <rtems/print.h>
+
+struct rtems_printer;
#ifdef __cplusplus
extern "C" {
@@ -362,7 +363,7 @@ void rtems_rate_monotonic_reset_all_statistics( void );
* the Manager but actually uses other services of the Manager.
*/
void rtems_rate_monotonic_report_statistics_with_plugin(
- const rtems_printer *printer
+ const struct rtems_printer *printer
);
/**