From 51933629d1f1a17839ddbb75b2b619effe117abb Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 2 Nov 2009 21:54:57 +0000 Subject: Changed foo(void) to foo() in almost all non-backend source files svn-id: r45616 --- backends/platform/sdl/graphics.cpp | 4 ++-- backends/platform/sdl/sdl.cpp | 2 +- backends/platform/sdl/sdl.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'backends/platform/sdl') diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index 47f9db8688..8b315a2d4e 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -89,7 +89,7 @@ int OSystem_SDL::getDefaultGraphicsMode() const { return GFX_DOUBLESIZE; } -void OSystem_SDL::beginGFXTransaction(void) { +void OSystem_SDL::beginGFXTransaction() { assert(_transactionMode == kTransactionNone); _transactionMode = kTransactionActive; @@ -107,7 +107,7 @@ void OSystem_SDL::beginGFXTransaction(void) { _oldVideoMode = _videoMode; } -OSystem::TransactionError OSystem_SDL::endGFXTransaction(void) { +OSystem::TransactionError OSystem_SDL::endGFXTransaction() { int errors = kTransactionSuccess; assert(_transactionMode != kTransactionNone); diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index 8224bf547c..28c0c92ebf 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -575,7 +575,7 @@ void OSystem_SDL::setupIcon() { free(icon); } -OSystem::MutexRef OSystem_SDL::createMutex(void) { +OSystem::MutexRef OSystem_SDL::createMutex() { return (MutexRef) SDL_CreateMutex(); } diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h index 4c31414f90..fd9c1f72fd 100644 --- a/backends/platform/sdl/sdl.h +++ b/backends/platform/sdl/sdl.h @@ -90,8 +90,8 @@ public: virtual void initBackend(); - void beginGFXTransaction(void); - TransactionError endGFXTransaction(void); + void beginGFXTransaction(); + TransactionError endGFXTransaction(); #ifdef USE_RGB_COLOR // Game screen -- cgit v1.2.3