From 79808e98359317867d4ac6c7c003548e6f75ab2c Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sat, 7 Jan 2012 14:32:29 -0800 Subject: [PATCH] Cleanups. --- ScopedLock.h | 4 ++-- uint256.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ScopedLock.h b/ScopedLock.h index 0ba3c1b1dd..fb3041c463 100644 --- a/ScopedLock.h +++ b/ScopedLock.h @@ -14,11 +14,11 @@ public: ScopedLock(boost::recursive_mutex &mutex) : mHolder(new boost::interprocess::scoped_lock(mutex)) { ; } - void lock(void) const + void lock() const { mHolder->lock(); } - void unlock(void) const + void unlock() const { mHolder->unlock(); } diff --git a/uint256.h b/uint256.h index 89fdfcacc3..f53bcee50d 100644 --- a/uint256.h +++ b/uint256.h @@ -371,7 +371,7 @@ public: return sizeof(pn); } - void zero(void) + void zero() { memset(&pn[0], 0, sizeof(pn)); }