diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-12 11:37:54 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-13 01:31:38 +0100 |
commit | 34a5ac483318f079fc38dc5e114267e4657234cf (patch) | |
tree | 1b63aea12c13b4983ee16364a725a95e072387c5 | |
parent | ae271dd63c94a3c9a6a3dbde364718ec954eba7b (diff) |
kern: remove register qualifiers
* kern/queue.h: Remove register qualifiers.
-rw-r--r-- | kern/queue.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kern/queue.h b/kern/queue.h index 1846922..8835ad6 100644 --- a/kern/queue.h +++ b/kern/queue.h @@ -206,7 +206,7 @@ void insque(queue_entry_t, queue_entry_t); */ #define queue_enter_first(head, elt, type, field) \ { \ - register queue_entry_t next; \ + queue_entry_t next; \ \ next = (head)->next; \ if ((head) == next) { \ @@ -239,7 +239,7 @@ void insque(queue_entry_t, queue_entry_t); */ #define queue_remove(head, elt, type, field) \ { \ - register queue_entry_t next, prev; \ + queue_entry_t next, prev; \ \ next = (elt)->field.next; \ prev = (elt)->field.prev; \ @@ -266,7 +266,7 @@ void insque(queue_entry_t, queue_entry_t); */ #define queue_remove_first(head, entry, type, field) \ { \ - register queue_entry_t next; \ + queue_entry_t next; \ \ (entry) = (type) ((head)->next); \ next = (entry)->field.next; \ @@ -289,7 +289,7 @@ void insque(queue_entry_t, queue_entry_t); */ #define queue_remove_last(head, entry, type, field) \ { \ - register queue_entry_t prev; \ + queue_entry_t prev; \ \ (entry) = (type) ((head)->prev); \ prev = (entry)->field.prev; \ |