diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ab697d06c0..2b17d9349b0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-04-22 Joel Sherrill + + * gthr-rtems.h: Correct prototypes to remove warnings. + 2002-04-22 Richard Henderson PR c/6344 diff --git a/gcc/gthr-rtems.h b/gcc/gthr-rtems.h index 7a2264b6bfb..b3a1d68b31e 100644 --- a/gcc/gthr-rtems.h +++ b/gcc/gthr-rtems.h @@ -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 ); }