summaryrefslogtreecommitdiffstats
path: root/c/src/librtems++/include/rtems++/rtemsSemaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/librtems++/include/rtems++/rtemsSemaphore.h')
-rw-r--r--c/src/librtems++/include/rtems++/rtemsSemaphore.h4
1 files changed, 2 insertions, 2 deletions
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));
}