summaryrefslogtreecommitdiff
path: root/ACE/performance-tests/Misc/test_guard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/performance-tests/Misc/test_guard.cpp')
-rw-r--r--ACE/performance-tests/Misc/test_guard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/performance-tests/Misc/test_guard.cpp b/ACE/performance-tests/Misc/test_guard.cpp
index d56886b56d0..4e676ba8ff7 100644
--- a/ACE/performance-tests/Misc/test_guard.cpp
+++ b/ACE/performance-tests/Misc/test_guard.cpp
@@ -18,11 +18,11 @@ enum
};
ACE_Thread_Mutex lock_;
-typedef void (*guard_func)(void);
+typedef void (*guard_func)();
int test_type = TEST_GUARD;
int dummy = 0;
-void guard (void)
+void guard ()
{
ACE_GUARD (ACE_Thread_Mutex, _ace_mon, lock_);
dummy++;