aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
authorMax Horn2009-11-02 21:54:57 +0000
committerMax Horn2009-11-02 21:54:57 +0000
commit51933629d1f1a17839ddbb75b2b619effe117abb (patch)
tree7292b23e5ce3fb11e6b2bb360a3befbbf35b64d9 /engines/draci
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 'engines/draci')
-rw-r--r--engines/draci/barchive.cpp2
-rw-r--r--engines/draci/barchive.h4
-rw-r--r--engines/draci/music.h2
-rw-r--r--engines/draci/sound.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/engines/draci/barchive.cpp b/engines/draci/barchive.cpp
index 735a84bb60..c9703559b8 100644
--- a/engines/draci/barchive.cpp
+++ b/engines/draci/barchive.cpp
@@ -238,7 +238,7 @@ void BArchive::openArchive(const Common::String &path) {
* Closes the currently opened archive. It can be called explicitly to
* free up memory.
*/
-void BArchive::closeArchive(void) {
+void BArchive::closeArchive() {
if (!_opened) {
return;
}
diff --git a/engines/draci/barchive.h b/engines/draci/barchive.h
index 1d366944f2..87ee301de5 100644
--- a/engines/draci/barchive.h
+++ b/engines/draci/barchive.h
@@ -43,7 +43,7 @@ struct BAFile {
byte _stopper; ///< Not used in BAR files, needed for DFW
/** Releases the file data (for memory considerations) */
- void close(void) {
+ void close() {
delete[] _data;
_data = NULL;
}
@@ -61,7 +61,7 @@ public:
~BArchive() { closeArchive(); }
void openArchive(const Common::String &path);
- void closeArchive(void);
+ void closeArchive();
uint size() const { return _fileCount; }
/**
diff --git a/engines/draci/music.h b/engines/draci/music.h
index 0db062d73b..2d3da47e46 100644
--- a/engines/draci/music.h
+++ b/engines/draci/music.h
@@ -67,7 +67,7 @@ public:
void metaEvent(byte type, byte *data, uint16 length);
void setTimerCallback(void *timerParam, void (*timerProc)(void *)) { }
- uint32 getBaseTempo(void) { return _driver ? _driver->getBaseTempo() : 0; }
+ uint32 getBaseTempo() { return _driver ? _driver->getBaseTempo() : 0; }
//Channel allocation functions
MidiChannel *allocateChannel() { return 0; }
diff --git a/engines/draci/sound.h b/engines/draci/sound.h
index ab0df52dea..28379b5429 100644
--- a/engines/draci/sound.h
+++ b/engines/draci/sound.h
@@ -41,7 +41,7 @@ struct SoundSample {
uint _frequency;
byte* _data;
- void close(void) {
+ void close() {
delete[] _data;
_data = NULL;
}