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: r52625
This commit is contained in:
Joel Sherrill 2002-04-22 18:24:11 +00:00 committed by Joel Sherrill
parent 6c185cda4c
commit c4e8ea9571
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-04-22 Joel Sherrill <joel@OARcorp.com>
* gthr-rtems.h: Correct prototypes to remove warnings.
2002-04-22 Richard Henderson <rth@redhat.com>
PR c/6344

View File

@ -51,7 +51,7 @@ typedef void *__gthread_mutex_t;
*/
/* 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_dtor (__gthread_key_t key, void *ptr);
extern int rtems_gxx_key_delete (__gthread_key_t key);
@ -74,7 +74,7 @@ __gthread_active_p (void)
/* Wrapper calls */
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 );
}