OSDN Git Service

* sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
[pf3gnuchains/gcc-fork.git] / gcc / gthr-posix.h
index 5f197aa..f420e5f 100644 (file)
@@ -59,7 +59,7 @@ typedef pthread_mutex_t __gthread_mutex_t;
 static void *__gthread_active_ptr = &pthread_create;
 
 static inline int
-__gthread_active_p ()
+__gthread_active_p (void)
 {
   return __gthread_active_ptr != 0;
 }
@@ -67,7 +67,7 @@ __gthread_active_p ()
 #else /* not SUPPORTS_WEAK */
 
 static inline int
-__gthread_active_p ()
+__gthread_active_p (void)
 {
   return 1;
 }
@@ -75,7 +75,7 @@ __gthread_active_p ()
 #endif /* SUPPORTS_WEAK */
 
 static inline int
-__gthread_once (__gthread_once_t *once, void (*func) ())
+__gthread_once (__gthread_once_t *once, void (*func) (void))
 {
   if (__gthread_active_p ())
     return pthread_once (once, func);