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
This commit is contained in:
Joel Sherrill 2002-04-22 18:26:01 +00:00 committed by Joel Sherrill
parent 0fe854a7e0
commit 1b61552b8a
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> 2002-04-22 Richard Henderson <rth@redhat.com>
PR c/6344 PR c/6344

View File

@ -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)
/* 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 );
} }