diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-06 16:00:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-07 06:31:46 +0200 |
commit | 089e68181e70aa96802f8ebe0acf6af73c02f5ae (patch) | |
tree | ad9615c3af96458cea8d9c1b19645b1724bc9cb5 /cpukit/rtems/src/status.c | |
parent | score: Fix internal error status number (diff) | |
download | rtems-089e68181e70aa96802f8ebe0acf6af73c02f5ae.tar.bz2 |
score: Replace Objects_Name_or_id_lookup_errors
Replace Objects_Name_or_id_lookup_errors with new Status_Control codes.
Get rid of the _Status_Object_name_errors_to_status lookup table.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/src/status.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/cpukit/rtems/src/status.c b/cpukit/rtems/src/status.c deleted file mode 100644 index a4aebd2c05..0000000000 --- a/cpukit/rtems/src/status.c +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @file - * - * @ingroup RTEMSImplClassic - * - * @brief This source file contains the definition of - * ::_Status_Object_name_errors_to_status. - */ - -/* COPYRIGHT (c) 1989-2013. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#include <rtems/rtems/statusimpl.h> - -const rtems_status_code _Status_Object_name_errors_to_status[] = { - /** This maps OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL to RTEMS_SUCCESSFUL. */ - RTEMS_SUCCESSFUL, - /** This maps OBJECTS_INVALID_NAME to RTEMS_INVALID_NAME. */ - RTEMS_INVALID_NAME, - /** This maps OBJECTS_INVALID_ADDRESS to RTEMS_INVALID_ADDRESS. */ - RTEMS_INVALID_ADDRESS, - /** This maps OBJECTS_INVALID_ID to RTEMS_INVALID_ID. */ - RTEMS_INVALID_ID, - /** This maps OBJECTS_INVALID_NODE to RTEMS_INVALID_NODE. */ - RTEMS_INVALID_NODE -}; |