summaryrefslogtreecommitdiff
path: root/src/newgrf_sound.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 11:47:46 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 11:47:46 +0000
commit36bb92ae241403d61dc7a3e5a1696b615be61395 (patch)
tree5676d0d54be47c40d975fdeb1026317fc2a010db /src/newgrf_sound.cpp
parenta69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226 (diff)
downloadopenttd-36bb92ae241403d61dc7a3e5a1696b615be61395.tar.xz
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/newgrf_sound.cpp')
-rw-r--r--src/newgrf_sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_sound.cpp b/src/newgrf_sound.cpp
index 7bc44e04b..136ea84a3 100644
--- a/src/newgrf_sound.cpp
+++ b/src/newgrf_sound.cpp
@@ -15,7 +15,7 @@ STATIC_OLD_POOL(SoundInternal, FileEntry, 3, 1000, NULL, NULL)
/* Allocate a new FileEntry */
-FileEntry *AllocateFileEntry(void)
+FileEntry *AllocateFileEntry()
{
if (_sound_count == GetSoundInternalPoolSize()) {
if (!AddBlockToPool(&_SoundInternal_pool)) return NULL;
@@ -25,7 +25,7 @@ FileEntry *AllocateFileEntry(void)
}
-void InitializeSoundPool(void)
+void InitializeSoundPool()
{
CleanPool(&_SoundInternal_pool);
_sound_count = 0;
@@ -42,7 +42,7 @@ FileEntry *GetSound(uint index)
}
-uint GetNumSounds(void)
+uint GetNumSounds()
{
return _sound_count;
}