[rtems commit] rtems: Deprecate rtems_context

Sebastian Huber sebh at rtems.org
Fri Nov 9 06:25:47 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Nov  8 07:53:14 2018 +0100

rtems: Deprecate rtems_context

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 806fa44..144b3cd 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)
 /**




More information about the vc mailing list