summaryrefslogtreecommitdiff
path: root/ACE/ace/Atomic_Op.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Atomic_Op.h')
-rw-r--r--ACE/ace/Atomic_Op.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/ACE/ace/Atomic_Op.h b/ACE/ace/Atomic_Op.h
index 146cb7c8acd..3534c1bef0c 100644
--- a/ACE/ace/Atomic_Op.h
+++ b/ACE/ace/Atomic_Op.h
@@ -72,7 +72,7 @@ class ACE_Export ACE_Atomic_Op<ACE_Thread_Mutex, long>
{
public:
/// Initialize @c value_ to 0.
- ACE_Atomic_Op (void);
+ ACE_Atomic_Op ();
/// Initialize @c value_ to c.
ACE_Atomic_Op (long c);
@@ -81,7 +81,7 @@ public:
ACE_Atomic_Op (const ACE_Atomic_Op<ACE_Thread_Mutex, long> &c);
/// Atomically pre-increment @c value_.
- long operator++ (void);
+ long operator++ ();
/// Atomically post-increment @c value_.
long operator++ (int);
@@ -90,7 +90,7 @@ public:
long operator+= (long rhs);
/// Atomically pre-decrement @c value_.
- long operator-- (void);
+ long operator-- ();
/// Atomically post-decrement @c value_.
long operator-- (int);
@@ -132,20 +132,20 @@ public:
void dump () const;
/// Explicitly return @c value_ (by reference).
- volatile long &value_i (void);
+ volatile long &value_i ();
// ACE_ALLOC_HOOK_DECLARE;
// Declare the dynamic allocation hooks.
/// Used during ACE object manager initialization to optimize the fast
/// atomic op implementation according to the number of CPUs.
- static void init_functions (void);
+ static void init_functions ();
private:
/// This function cannot be supported by this template specialization.
/// If you need access to an underlying lock, use the ACE_Atomic_Op_Ex
/// template instead.
- ACE_Thread_Mutex &mutex (void);
+ ACE_Thread_Mutex &mutex ();
private:
/// Current object decorated by the atomic op.
@@ -170,7 +170,7 @@ class ACE_Export ACE_Atomic_Op<ACE_Thread_Mutex, unsigned long>
{
public:
/// Initialize @c value_ to 0.
- ACE_Atomic_Op (void);
+ ACE_Atomic_Op ();
/// Initialize @c value_ to c.
ACE_Atomic_Op (unsigned long c);
@@ -179,7 +179,7 @@ public:
ACE_Atomic_Op (const ACE_Atomic_Op<ACE_Thread_Mutex, unsigned long> &c);
/// Atomically pre-increment @c value_.
- unsigned long operator++ (void);
+ unsigned long operator++ ();
/// Atomically post-increment @c value_.
unsigned long operator++ (int);
@@ -188,7 +188,7 @@ public:
unsigned long operator+= (unsigned long rhs);
/// Atomically pre-decrement @c value_.
- unsigned long operator-- (void);
+ unsigned long operator-- ();
/// Atomically post-decrement @c value_.
unsigned long operator-- (int);
@@ -230,20 +230,20 @@ public:
void dump () const;
/// Explicitly return @c value_ (by reference).
- volatile unsigned long &value_i (void);
+ volatile unsigned long &value_i ();
// ACE_ALLOC_HOOK_DECLARE;
// Declare the dynamic allocation hooks.
/// Used during ACE object manager initialization to optimize the fast
/// atomic op implementation according to the number of CPUs.
- static void init_functions (void);
+ static void init_functions ();
private:
/// This function cannot be supported by this template specialization.
/// If you need access to an underlying lock, use the ACE_Atomic_Op_Ex
/// template instead.
- ACE_Thread_Mutex &mutex (void);
+ ACE_Thread_Mutex &mutex ();
private:
/// Current object decorated by the atomic op.