[rtems commit] rtems: Deprecate <rtems/system.h>

Sebastian Huber sebh at rtems.org
Wed May 6 06:02:29 UTC 2020


Module:    rtems
Branch:    master
Commit:    63274daf68a1b8633002687af15cd3afaacc8224
Changeset: http://git.rtems.org/rtems/commit/?id=63274daf68a1b8633002687af15cd3afaacc8224

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue May  5 14:53:42 2020 +0200

rtems: Deprecate <rtems/system.h>

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 23d805d..8019717 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
  *



More information about the vc mailing list