diff options
-rw-r--r-- | backends/timer/default/default-timer.cpp | 4 | ||||
-rw-r--r-- | backends/timer/default/default-timer.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/backends/timer/default/default-timer.cpp b/backends/timer/default/default-timer.cpp index 245291c06c..9e04e0786b 100644 --- a/backends/timer/default/default-timer.cpp +++ b/backends/timer/default/default-timer.cpp @@ -47,7 +47,7 @@ DefaultTimerManager::~DefaultTimerManager() { } } -int DefaultTimerManager::handler(int t) { +void DefaultTimerManager::handler() { Common::StackLock lock(_mutex); uint32 interval, l; @@ -67,8 +67,6 @@ int DefaultTimerManager::handler(int t) { } } } - - return t; } bool DefaultTimerManager::installTimerProc(TimerProc procedure, int32 interval, void *refCon) { diff --git a/backends/timer/default/default-timer.h b/backends/timer/default/default-timer.h index 8c16122b02..bea4dc3f86 100644 --- a/backends/timer/default/default-timer.h +++ b/backends/timer/default/default-timer.h @@ -51,7 +51,7 @@ public: void removeTimerProc(TimerProc proc); // Timer callback, to be invoked at regular time intervals by the backend. - int handler(int t); + void handler(); }; #endif |