aboutsummaryrefslogtreecommitdiff
path: root/gcc/gthr-rtems.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel@OARcorp.com>2002-04-22 18:26:01 +0000
committerJoel Sherrill <joel@gcc.gnu.org>2002-04-22 18:26:01 +0000
commit1b61552b8a9bd5cd156b70ec396809bdfbddeba6 (patch)
tree7da9bf5fcd4d4c02fbd8c8c6ebc25af83337a411 /gcc/gthr-rtems.h
parent0fe854a7e085766e646a8347362add815ad9c489 (diff)
downloadgcc-1b61552b8a9bd5cd156b70ec396809bdfbddeba6.zip
gcc-1b61552b8a9bd5cd156b70ec396809bdfbddeba6.tar.gz
gcc-1b61552b8a9bd5cd156b70ec396809bdfbddeba6.tar.bz2
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
Diffstat (limited to 'gcc/gthr-rtems.h')
-rw-r--r--gcc/gthr-rtems.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gthr-rtems.h b/gcc/gthr-rtems.h
index 7a2264b..b3a1d68 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 );
}