aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2009-11-02 21:54:57 +0000
committerMax Horn2009-11-02 21:54:57 +0000
commit51933629d1f1a17839ddbb75b2b619effe117abb (patch)
tree7292b23e5ce3fb11e6b2bb360a3befbbf35b64d9 /common
parent400ee8c461e8060393b62be639c27dd3820dccd4 (diff)
downloadscummvm-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.cpp4
-rw-r--r--common/util.h2
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