diff options
author | joel <joel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-22 18:26:01 +0000 |
---|---|---|
committer | joel <joel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-22 18:26:01 +0000 |
commit | 98b0c990048cc389f1b1e4ae83bf8642abf773c6 (patch) | |
tree | 7da9bf5fcd4d4c02fbd8c8c6ebc25af83337a411 /gcc/gthr-rtems.h | |
parent | d7b592b0767aeb3de88ff70e528d0ac57fb6ec3e (diff) | |
download | gcc-98b0c990048cc389f1b1e4ae83bf8642abf773c6.tar.gz |
2002-04-22 Joel Sherrill <joel@OARcorp.com>
* gthr-rtems.h: Correct prototypes to remove warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52626 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr-rtems.h')
-rw-r--r-- | gcc/gthr-rtems.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); } |