public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/3] Use __inline in <sys/lock.h> for RTEMS
@ 2016-11-16 13:51 Sebastian Huber
  2016-11-16 13:51 ` [PATCH 3/3] Move pthread types to <sys/_pthreadtypes.h> Sebastian Huber
  2016-11-16 13:51 ` [PATCH 2/3] Add _TICKET_LOCK_INITIALIZER to <sys/lock.h> Sebastian Huber
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Huber @ 2016-11-16 13:51 UTC (permalink / raw)
  To: newlib; +Cc: Sebastian Huber

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
---
 newlib/libc/sys/rtems/include/sys/lock.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/newlib/libc/sys/rtems/include/sys/lock.h b/newlib/libc/sys/rtems/include/sys/lock.h
index e0d77cb..f716a69 100644
--- a/newlib/libc/sys/rtems/include/sys/lock.h
+++ b/newlib/libc/sys/rtems/include/sys/lock.h
@@ -82,7 +82,7 @@ struct _Futex_Control {
 
 #define _FUTEX_INITIALIZER { _THREAD_QUEUE_INITIALIZER }
 
-static inline void
+static __inline void
 _Mutex_Initialize(struct _Mutex_Control *_mutex)
 {
 	struct _Mutex_Control _init = _MUTEX_INITIALIZER;
@@ -98,14 +98,14 @@ int _Mutex_Try_acquire(struct _Mutex_Control *);
 
 void _Mutex_Release(struct _Mutex_Control *);
 
-static inline void
+static __inline void
 _Mutex_Destroy(struct _Mutex_Control *_mutex)
 {
 
 	(void)_mutex;
 }
 
-static inline void
+static __inline void
 _Mutex_recursive_Initialize(struct _Mutex_recursive_Control *_mutex)
 {
 	struct _Mutex_recursive_Control _init = _MUTEX_RECURSIVE_INITIALIZER;
@@ -122,14 +122,14 @@ int _Mutex_recursive_Try_acquire(struct _Mutex_recursive_Control *);
 
 void _Mutex_recursive_Release(struct _Mutex_recursive_Control *);
 
-static inline void
+static __inline void
 _Mutex_recursive_Destroy(struct _Mutex_recursive_Control *_mutex)
 {
 
 	(void)_mutex;
 }
 
-static inline void
+static __inline void
 _Condition_Initialize(struct _Condition_Control *_cond)
 {
 	struct _Condition_Control _init = _CONDITION_INITIALIZER;
@@ -152,14 +152,14 @@ void _Condition_Signal(struct _Condition_Control *);
 
 void _Condition_Broadcast(struct _Condition_Control *);
 
-static inline void
+static __inline void
 _Condition_Destroy(struct _Condition_Control *_cond)
 {
 
 	(void)_cond;
 }
 
-static inline void
+static __inline void
 _Semaphore_Initialize(struct _Semaphore_Control *_semaphore,
     unsigned int _count)
 {
@@ -172,14 +172,14 @@ void _Semaphore_Wait(struct _Semaphore_Control *);
 
 void _Semaphore_Post(struct _Semaphore_Control *);
 
-static inline void
+static __inline void
 _Semaphore_Destroy(struct _Semaphore_Control *_semaphore)
 {
 
 	(void)_semaphore;
 }
 
-static inline void
+static __inline void
 _Futex_Initialize(struct _Futex_Control *_futex)
 {
 	struct _Futex_Control _init = _FUTEX_INITIALIZER;
@@ -191,7 +191,7 @@ int _Futex_Wait(struct _Futex_Control *, int *, int);
 
 int _Futex_Wake(struct _Futex_Control *, int);
 
-static inline void
+static __inline void
 _Futex_Destroy(struct _Futex_Control *_futex)
 {
 
-- 
1.8.4.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-17 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-16 13:51 [PATCH 1/3] Use __inline in <sys/lock.h> for RTEMS Sebastian Huber
2016-11-16 13:51 ` [PATCH 3/3] Move pthread types to <sys/_pthreadtypes.h> Sebastian Huber
2016-11-17 10:58   ` Corinna Vinschen
2016-11-16 13:51 ` [PATCH 2/3] Add _TICKET_LOCK_INITIALIZER to <sys/lock.h> Sebastian Huber
2016-11-17 10:07   ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).