summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-12 14:41:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-13 01:31:40 +0100
commitcfb9fea2fafc51e878a1f446a024c02abd17b04d (patch)
tree3c3dde809d48512a6946da85b37f74492733768b
parentccfb0c2cd0154c18d0b885e6afcfaeebb7a8160b (diff)
kern: remove register qualifiers
* kern/timer.c: Remove register qualifiers.
-rw-r--r--kern/timer.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/kern/timer.c b/kern/timer.c
index ec0524a..124227c 100644
--- a/kern/timer.c
+++ b/kern/timer.c
@@ -49,8 +49,8 @@ void timer_init(); /* forward */
*/
void init_timers()
{
- register int i;
- register timer_t this_timer;
+ int i;
+ timer_t this_timer;
/*
* Initialize all the kernel timers and start the one
@@ -69,7 +69,6 @@ void init_timers()
* timer_init initializes a single timer.
*/
void timer_init(this_timer)
-register
timer_t this_timer;
{
this_timer->low_bits = 0;
@@ -442,7 +441,7 @@ void thread_read_times(thread, user_time_p, system_time_p)
time_value_t *system_time_p;
{
timer_save_data_t temp;
- register timer_t timer;
+ timer_t timer;
timer = &thread->user_timer;
timer_grab(timer, &temp);
@@ -476,7 +475,7 @@ void db_thread_read_times(thread, user_time_p, system_time_p)
time_value_t *system_time_p;
{
timer_save_data_t temp;
- register timer_t timer;
+ timer_t timer;
timer = &thread->user_timer;
db_timer_grab(timer, &temp);
@@ -511,7 +510,7 @@ timer_t timer;
timer_save_t save;
{
timer_save_data_t new_save;
- register unsigned result;
+ unsigned result;
timer_grab(timer,&new_save);
result = (new_save.high - save->high) * TIMER_HIGH_UNIT +