diff --git a/ScopedLock.h b/ScopedLock.h index 0ba3c1b1d..fb3041c46 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 89fdfcacc..f53bcee50 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)); }