[rtems commit] Avoid <rtems/print.h> in <rtems/rtems/ratemon.h>
Sebastian Huber
sebh at rtems.org
Wed Jun 22 05:46:10 UTC 2016
Module: rtems
Branch: master
Commit: a33bfb6cb154b56d06ebd9ed7cef5b466f14cb8d
Changeset: http://git.rtems.org/rtems/commit/?id=a33bfb6cb154b56d06ebd9ed7cef5b466f14cb8d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Jun 21 14:15:03 2016 +0200
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>.
---
cpukit/rtems/include/rtems/rtems/ratemon.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cpukit/rtems/include/rtems/rtems/ratemon.h b/cpukit/rtems/include/rtems/rtems/ratemon.h
index 6e8fab6..3203eab 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
);
/**
More information about the vc
mailing list