diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2000-01-13 18:22:09 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2000-01-13 18:22:09 +0000 |
commit | 661ff9a7f63e0e88509e7e4f59f81d85018fedac (patch) | |
tree | e4c3ab9189f3b6161c23afbb132dc271425955aa | |
parent | Added comment to indicate this path does not occur. (diff) | |
download | rtems-661ff9a7f63e0e88509e7e4f59f81d85018fedac.tar.bz2 |
Removed referance to rtems error.
Added correct include file.
-rw-r--r-- | c/src/exec/posix/src/mqueuetranslatereturncode.c | 3 | ||||
-rw-r--r-- | cpukit/posix/src/mqueuetranslatereturncode.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/mqueuetranslatereturncode.c b/c/src/exec/posix/src/mqueuetranslatereturncode.c index edc5e2954d..01c832406e 100644 --- a/c/src/exec/posix/src/mqueuetranslatereturncode.c +++ b/c/src/exec/posix/src/mqueuetranslatereturncode.c @@ -23,6 +23,7 @@ #include <rtems/posix/seterr.h> #include <rtems/posix/mqueue.h> #include <rtems/posix/time.h> +#include <rtems/score/interr.h> /*PAGE @@ -92,5 +93,5 @@ int _POSIX_Message_queue_Translate_core_message_queue_return_code( TRUE, the_message_queue_status ); - return RTEMS_INTERNAL_ERROR; /* unreached - only to remove warnings */ + return POSIX_BOTTOM_REACHED(); } diff --git a/cpukit/posix/src/mqueuetranslatereturncode.c b/cpukit/posix/src/mqueuetranslatereturncode.c index edc5e2954d..01c832406e 100644 --- a/cpukit/posix/src/mqueuetranslatereturncode.c +++ b/cpukit/posix/src/mqueuetranslatereturncode.c @@ -23,6 +23,7 @@ #include <rtems/posix/seterr.h> #include <rtems/posix/mqueue.h> #include <rtems/posix/time.h> +#include <rtems/score/interr.h> /*PAGE @@ -92,5 +93,5 @@ int _POSIX_Message_queue_Translate_core_message_queue_return_code( TRUE, the_message_queue_status ); - return RTEMS_INTERNAL_ERROR; /* unreached - only to remove warnings */ + return POSIX_BOTTOM_REACHED(); } |