mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 23:49:46 +08:00
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:
parent
0fe854a7e0
commit
1b61552b8a
@ -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
|
||||||
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user