diff options
author | Max Horn | 2009-11-02 21:54:57 +0000 |
---|---|---|
committer | Max Horn | 2009-11-02 21:54:57 +0000 |
commit | 51933629d1f1a17839ddbb75b2b619effe117abb (patch) | |
tree | 7292b23e5ce3fb11e6b2bb360a3befbbf35b64d9 /common | |
parent | 400ee8c461e8060393b62be639c27dd3820dccd4 (diff) | |
download | scummvm-rg350-51933629d1f1a17839ddbb75b2b619effe117abb.tar.gz scummvm-rg350-51933629d1f1a17839ddbb75b2b619effe117abb.tar.bz2 scummvm-rg350-51933629d1f1a17839ddbb75b2b619effe117abb.zip |
Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
Diffstat (limited to 'common')
-rw-r--r-- | common/util.cpp | 4 | ||||
-rw-r--r-- | common/util.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/util.cpp b/common/util.cpp index 7401337110..a0144868db 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -32,7 +32,7 @@ #ifdef _WIN32_WCE // This is required for the debugger attachment -extern bool isSmartphone(void); +extern bool isSmartphone(); #endif #ifdef __PLAYSTATION2__ @@ -178,7 +178,7 @@ uint RandomSource::getRandomNumber(uint max) { return _randSeed % (max + 1); } -uint RandomSource::getRandomBit(void) { +uint RandomSource::getRandomBit() { _randSeed = 0xDEADBF03 * (_randSeed + 1); _randSeed = (_randSeed >> 13) | (_randSeed << 19); return _randSeed & 1; diff --git a/common/util.h b/common/util.h index e3dc47fe3e..c17557a077 100644 --- a/common/util.h +++ b/common/util.h @@ -139,7 +139,7 @@ public: * Identical to getRandomNumber(1), but faster, hopefully. * @return a random bit, either 0 or 1 */ - uint getRandomBit(void); + uint getRandomBit(); /** * Generates a random unsigned integer in the interval [min, max]. * @param min the lower bound |