diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 23:58:41 +0900 |
commit | ce9614515fa863c4a66870f5288e417eceaf9106 (patch) | |
tree | 46822e581173d96db101d0c8521fa1730cd09602 /src/kernel/qeventloop_unix.cpp | |
parent | cd2dc5026e152d6cf57895fe4f41cabdf2bb3eca (diff) | |
download | tqt-ce9614515fa863c4a66870f5288e417eceaf9106.tar.gz tqt-ce9614515fa863c4a66870f5288e417eceaf9106.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 99e56ba8db70324cc5c7ab416a3b48171613bd59)
Diffstat (limited to 'src/kernel/qeventloop_unix.cpp')
-rw-r--r-- | src/kernel/qeventloop_unix.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/qeventloop_unix.cpp b/src/kernel/qeventloop_unix.cpp index 1c391f413..132279314 100644 --- a/src/kernel/qeventloop_unix.cpp +++ b/src/kernel/qeventloop_unix.cpp @@ -211,7 +211,7 @@ static inline void getTime( timeval &t ) // get time of day static void repairTimer( const timeval &time ) // repair broken timer { timeval diff = watchtime - time; - register TimerInfo *t = timerList->first(); + TimerInfo *t = timerList->first(); while ( t ) { // repair all timers t->timeout = t->timeout - diff; t = timerList->next(); @@ -308,7 +308,7 @@ int qStartTimer( int interval, TQObject *obj ) bool qKillTimer( int id ) { - register TimerInfo *t; + TimerInfo *t; if ( !timerList || id <= 0 || id > (int)timerBitVec->size() || !timerBitVec->testBit( id-1 ) ) return FALSE; // not init'd or invalid timer @@ -325,7 +325,7 @@ bool qKillTimer( int id ) bool qKillTimer( TQObject *obj ) { - register TimerInfo *t; + TimerInfo *t; if ( !timerList ) // not initialized return FALSE; t = timerList->first(); @@ -530,7 +530,7 @@ int TQEventLoop::activateTimers() timeval currentTime; int n_act = 0, maxCount = timerList->count(); TimerInfo *begin = 0; - register TimerInfo *t; + TimerInfo *t; for ( ;; ) { if ( ! maxCount-- ) |