[PATCH 4/7] rtems: Deprecate <rtems/system.h>

Sebastian Huber sebastian.huber at embedded-brains.de
Tue May 5 14:23:29 UTC 2020


Close #3972.
---
 cpukit/include/rtems/system.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cpukit/include/rtems/system.h b/cpukit/include/rtems/system.h
index 23d805d0bc..8019717bc2 100644
--- a/cpukit/include/rtems/system.h
+++ b/cpukit/include/rtems/system.h
@@ -22,6 +22,10 @@
 
 #include <rtems/score/cpu.h>
 
+#ifndef _RTEMS_H
+#warning "This header file is deprecated and will be removed in RTEMS 6"
+#endif
+
 /**
  *  @defgroup RTEMSScoreSystem System Information
  *
-- 
2.16.4



More information about the devel mailing list