diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-14 12:44:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-15 11:47:12 +0200 |
commit | 71b809959bb8f775d83dc52628448bb8b8322b28 (patch) | |
tree | f9aa4308050eb7d55611068602c0cf0e3c1b3690 /store/source/storbios.cxx | |
parent | 135907f2061550624ee1859745d94eee01849070 (diff) |
remove unnecessary use of void in function declarations
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'store/source/storbios.cxx')
-rw-r--r-- | store/source/storbios.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx index 1e777ff178e1..3f9ec2d93052 100644 --- a/store/source/storbios.cxx +++ b/store/source/storbios.cxx @@ -89,11 +89,11 @@ struct OStoreSuperBlock /** unused(Count|Head|Insert|Remove|Reset). */ - sal_uInt32 unusedCount (void) const + sal_uInt32 unusedCount() const { return store::ntohl(m_nUnused); } - const L& unusedHead (void) const + const L& unusedHead() const { return m_aUnused; } @@ -109,7 +109,7 @@ struct OStoreSuperBlock m_nUnused = store::htonl(nUnused - 1); m_aUnused = rLink; } - void unusedReset (void) + void unusedReset() { m_nUnused = store::htonl(0); m_aUnused = L(0); @@ -528,7 +528,7 @@ OStorePageBIOS::AceCache::destroy (OStorePageBIOS::Ace * ace) /* * OStorePageBIOS. */ -OStorePageBIOS::OStorePageBIOS (void) +OStorePageBIOS::OStorePageBIOS() : m_xLockBytes (NULL), m_pSuper (NULL), m_bWriteable (false) @@ -538,7 +538,7 @@ OStorePageBIOS::OStorePageBIOS (void) /* * ~OStorePageBIOS. */ -OStorePageBIOS::~OStorePageBIOS (void) +OStorePageBIOS::~OStorePageBIOS() { cleanup_Impl(); } @@ -786,7 +786,7 @@ storeError OStorePageBIOS::releasePage (const OStorePageDescriptor& rDescr) * getRefererCount. * Precond: none. */ -sal_uInt32 OStorePageBIOS::getRefererCount (void) +sal_uInt32 OStorePageBIOS::getRefererCount() { // Acquire exclusive access. osl::MutexGuard aGuard (m_aMutex); @@ -971,7 +971,7 @@ storeError OStorePageBIOS::close() * flush. * Precond: initialized. */ -storeError OStorePageBIOS::flush (void) +storeError OStorePageBIOS::flush() { // Acquire exclusive access. osl::MutexGuard aGuard (m_aMutex); |