From 1c9a4c7546b4b4a20d4c6976b16de4982c37a760 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 28 Nov 2009 05:48:23 +0000 Subject: White space removal. --- c/src/librtems++/include/rtems++/rtemsEvent.h | 6 +++--- c/src/librtems++/include/rtems++/rtemsInterrupt.h | 4 ++-- c/src/librtems++/include/rtems++/rtemsMessageQueue.h | 4 ++-- c/src/librtems++/include/rtems++/rtemsSemaphore.h | 4 ++-- c/src/librtems++/include/rtems++/rtemsTask.h | 2 +- c/src/librtems++/include/rtems++/rtemsTimer.h | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'c/src/librtems++') diff --git a/c/src/librtems++/include/rtems++/rtemsEvent.h b/c/src/librtems++/include/rtems++/rtemsEvent.h index 6c4b60a879..c35997e596 100644 --- a/c/src/librtems++/include/rtems++/rtemsEvent.h +++ b/c/src/librtems++/include/rtems++/rtemsEvent.h @@ -40,7 +40,7 @@ public: enum Condition { any = RTEMS_EVENT_ANY, all = RTEMS_EVENT_ALL}; - // only the first 4 characters of the name are taken + // only the first 4 characters of the name are taken // connect to a task rtemsEvent(const char* name, uint32_t node = RTEMS_SEARCH_ALL_NODES); @@ -49,7 +49,7 @@ public: rtemsEvent(const rtemsEvent& event); rtemsEvent(); - virtual ~rtemsEvent(); + virtual ~rtemsEvent(); // connect to an existing task object, will not be the owner const rtemsEvent& operator=(const rtemsEvent& event); @@ -74,7 +74,7 @@ public: const rtems_id task_id_is() const { return id; } const rtems_name task_name_is() const { return name; } -private: +private: // task name rtems_name name; diff --git a/c/src/librtems++/include/rtems++/rtemsInterrupt.h b/c/src/librtems++/include/rtems++/rtemsInterrupt.h index 0c4f4f0d11..93d4195bf2 100644 --- a/c/src/librtems++/include/rtems++/rtemsInterrupt.h +++ b/c/src/librtems++/include/rtems++/rtemsInterrupt.h @@ -66,10 +66,10 @@ protected: // called after the interrupt is caught and it goes off virtual void handler() = 0; - // chain to the previous handler, + // chain to the previous handler, inline void chain() const; -private: +private: const rtemsInterrupt& operator=(const rtemsInterrupt& ); rtemsInterrupt(const rtemsInterrupt& ); diff --git a/c/src/librtems++/include/rtems++/rtemsMessageQueue.h b/c/src/librtems++/include/rtems++/rtemsMessageQueue.h index c517a36714..a93c51fc65 100644 --- a/c/src/librtems++/include/rtems++/rtemsMessageQueue.h +++ b/c/src/librtems++/include/rtems++/rtemsMessageQueue.h @@ -55,7 +55,7 @@ public: enum Scope { local = RTEMS_LOCAL, global = RTEMS_GLOBAL }; - // only the first 4 characters of the name are taken + // only the first 4 characters of the name are taken // creates a message queue rtemsMessageQueue(const char* name, @@ -83,7 +83,7 @@ public: virtual const rtems_status_code destroy(); // connect to an existing message queue object, will not be the owner - const rtemsMessageQueue& operator=(const rtemsMessageQueue& message_queue); + const rtemsMessageQueue& operator=(const rtemsMessageQueue& message_queue); virtual const rtems_status_code connect(const char *name, const uint32_t node = RTEMS_SEARCH_ALL_NODES); diff --git a/c/src/librtems++/include/rtems++/rtemsSemaphore.h b/c/src/librtems++/include/rtems++/rtemsSemaphore.h index 31f0c96baf..8d6e29a125 100644 --- a/c/src/librtems++/include/rtems++/rtemsSemaphore.h +++ b/c/src/librtems++/include/rtems++/rtemsSemaphore.h @@ -93,7 +93,7 @@ public: virtual const rtems_status_code destroy(); // connect to an existing semaphore object, will not be the owner - const rtemsSemaphore& operator=(const rtemsSemaphore& semaphore); + const rtemsSemaphore& operator=(const rtemsSemaphore& semaphore); virtual const rtems_status_code connect(const char *name, uint32_t node); // obtain the semaphore, timeout is in micro-seconds @@ -139,7 +139,7 @@ const rtems_status_code rtemsSemaphore::obtain(const bool wait, } const rtems_status_code rtemsSemaphore::release(void) -{ +{ return set_status_code(rtems_semaphore_release(id)); } diff --git a/c/src/librtems++/include/rtems++/rtemsTask.h b/c/src/librtems++/include/rtems++/rtemsTask.h index 45e6de156f..6b54db035b 100644 --- a/c/src/librtems++/include/rtems++/rtemsTask.h +++ b/c/src/librtems++/include/rtems++/rtemsTask.h @@ -71,7 +71,7 @@ public: enum Scope { local = RTEMS_LOCAL, global = RTEMS_GLOBAL }; - // only the first 4 characters of the name are taken + // only the first 4 characters of the name are taken // creates a task rtemsTask(const char* name, diff --git a/c/src/librtems++/include/rtems++/rtemsTimer.h b/c/src/librtems++/include/rtems++/rtemsTimer.h index e106b7d1ec..f188a41150 100644 --- a/c/src/librtems++/include/rtems++/rtemsTimer.h +++ b/c/src/librtems++/include/rtems++/rtemsTimer.h @@ -130,7 +130,7 @@ const rtems_status_code rtemsTimer::cancel() } const rtems_status_code rtemsTimer::reset() -{ +{ return set_status_code(rtems_timer_reset(id)); } -- cgit v1.2.3