bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 4/5] ipc: remove register qualifiers


From: Marin Ramesa
Subject: [PATCH 4/5] ipc: remove register qualifiers
Date: Mon, 11 Nov 2013 14:09:00 +0100

* ipc/ipc_thread.h: Remove register qualifiers.

---
 ipc/ipc_thread.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ipc/ipc_thread.h b/ipc/ipc_thread.h
index fbeea46..008ab4a 100644
--- a/ipc/ipc_thread.h
+++ b/ipc/ipc_thread.h
@@ -75,7 +75,7 @@ MACRO_END
 
 #define        ipc_thread_rmqueue_first_macro(queue, thread)                   
\
 MACRO_BEGIN                                                            \
-       register ipc_thread_t _next;                                    \
+       ipc_thread_t _next;                                             \
                                                                        \
        assert((queue)->ithq_base == (thread));                         \
                                                                        \
@@ -84,7 +84,7 @@ MACRO_BEGIN                                                   
        \
                assert((thread)->ith_prev == (thread));                 \
                (queue)->ithq_base = ITH_NULL;                          \
        } else {                                                        \
-               register ipc_thread_t _prev = (thread)->ith_prev;       \
+               ipc_thread_t _prev = (thread)->ith_prev;                \
                                                                        \
                (queue)->ithq_base = _next;                             \
                _next->ith_prev = _prev;                                \
@@ -95,14 +95,14 @@ MACRO_END
 
 #define        ipc_thread_enqueue_macro(queue, thread)                         
\
 MACRO_BEGIN                                                            \
-       register ipc_thread_t _first = (queue)->ithq_base;              \
+       ipc_thread_t _first = (queue)->ithq_base;                       \
                                                                        \
        if (_first == ITH_NULL) {                                       \
                (queue)->ithq_base = (thread);                          \
                assert((thread)->ith_next == (thread));                 \
                assert((thread)->ith_prev == (thread));                 \
        } else {                                                        \
-               register ipc_thread_t _last = _first->ith_prev;         \
+               ipc_thread_t _last = _first->ith_prev;                  \
                                                                        \
                (thread)->ith_next = _first;                            \
                (thread)->ith_prev = _last;                             \
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]