[PATCH 1/5] rtems: Deprecate rtems_context

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Nov 8 07:05:47 UTC 2018


The rtems_context typedef as no corresponding API.  A user can do
nothing with it.

Close #3587.
---
 cpukit/include/rtems/rtems/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h
index 806fa44eb6..144b3cddb1 100644
--- a/cpukit/include/rtems/rtems/types.h
+++ b/cpukit/include/rtems/rtems/types.h
@@ -89,7 +89,7 @@ typedef Objects_Id       rtems_id;
 /**
  * @brief Public name for task context area.
  */
-typedef Context_Control            rtems_context;
+typedef Context_Control            rtems_context RTEMS_DEPRECATED;
 
 #if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
 /**
-- 
2.16.4




More information about the devel mailing list