Commit 1b61552b by Joel Sherrill Committed by Joel Sherrill

gthr-rtems.h: Correct prototypes to remove warnings.

2002-04-22	Joel Sherrill <joel@OARcorp.com>

	* gthr-rtems.h: Correct prototypes to remove warnings.

From-SVN: r52626
parent 0fe854a7
2002-04-22 Joel Sherrill <joel@OARcorp.com>
* gthr-rtems.h: Correct prototypes to remove warnings.
2002-04-22 Richard Henderson <rth@redhat.com> 2002-04-22 Richard Henderson <rth@redhat.com>
PR c/6344 PR c/6344
......
...@@ -51,7 +51,7 @@ typedef void *__gthread_mutex_t; ...@@ -51,7 +51,7 @@ typedef void *__gthread_mutex_t;
*/ */
/* generic per task variables */ /* generic per task variables */
extern int rtems_gxx_once (__gthread_once_t *once, void (*func) ()); extern int rtems_gxx_once (__gthread_once_t *once, void (*func) (void));
extern int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)); extern int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *));
extern int rtems_gxx_key_dtor (__gthread_key_t key, void *ptr); extern int rtems_gxx_key_dtor (__gthread_key_t key, void *ptr);
extern int rtems_gxx_key_delete (__gthread_key_t key); extern int rtems_gxx_key_delete (__gthread_key_t key);
...@@ -74,7 +74,7 @@ __gthread_active_p (void) ...@@ -74,7 +74,7 @@ __gthread_active_p (void)
/* Wrapper calls */ /* Wrapper calls */
static inline int static inline int
__gthread_once (__gthread_once_t *once, void (*func) ()) __gthread_once (__gthread_once_t *once, void (*func) (void))
{ {
return rtems_gxx_once( once, func ); return rtems_gxx_once( once, func );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment