diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-16 09:24:30 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-16 09:24:30 +0000 |
commit | 1b4f2b305c95a832a259e4c4944f1a0981676eba (patch) | |
tree | 1ee56809b12a03ba53d630f5483a48387f72b74a /c/src/librtems++/include/rtems++/rtemsStatusCode.h | |
parent | Remove stray white spaces. (diff) | |
download | rtems-1b4f2b305c95a832a259e4c4944f1a0981676eba.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to '')
-rw-r--r-- | c/src/librtems++/include/rtems++/rtemsStatusCode.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/c/src/librtems++/include/rtems++/rtemsStatusCode.h b/c/src/librtems++/include/rtems++/rtemsStatusCode.h index 90da637cb1..d7f600536c 100644 --- a/c/src/librtems++/include/rtems++/rtemsStatusCode.h +++ b/c/src/librtems++/include/rtems++/rtemsStatusCode.h @@ -6,7 +6,7 @@ COPYRIGHT (c) 1997 Objective Design Systems Ltd Pty (ODS) All rights reserved (R) Objective Design Systems Ltd Pty - + The license and distribution terms for this file may be found in the file LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. @@ -14,7 +14,7 @@ ------------------------------------------------------------------------ rtemsStatusCode controls and manages status codes from the RTEMS kernel. - + ------------------------------------------------------------------------ */ @@ -30,15 +30,15 @@ class rtemsStatusCode { public: - + rtemsStatusCode() { last_status = RTEMS_NOT_CONFIGURED; } - + const bool successful() { return last_status == RTEMS_SUCCESSFUL; } const bool unsuccessful() { return last_status != RTEMS_SUCCESSFUL; } - + // return the last status code const rtems_status_code last_status_code() { return last_status; } - + // return the last status as a string const char *last_status_string(); @@ -47,9 +47,9 @@ public: protected: const rtems_status_code set_status_code(const rtems_status_code status) { return (last_status = status); } - + private: - + // public at the moment, this might change rtems_status_code last_status; }; |