diff options
author | kraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-30 00:43:08 +0000 |
---|---|---|
committer | kraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-30 00:43:08 +0000 |
commit | a679e4317ef2f9dfb05f99641f5bcaac81e4f97e (patch) | |
tree | 3f0c5cfb333419fc813a0b381089414fccd0ce03 /gcc/gthr-gnat.h | |
parent | 58179d87f9d8e02bac9c602a8a40bfc8a2b74e5b (diff) | |
download | gcc-a679e4317ef2f9dfb05f99641f5bcaac81e4f97e.tar.gz |
* gthr-gnat.c: Remove #undef UNUSED.
(__gnat_default_lock, __gnat_default_unlock): Prototype.
(__gnat_task_lock, __gnat_task_unlock): Make declarations
prototypes.
(__gnat_install_locks): Convert declaration to ISO C90, make
parameter declarations prototypes, and remove blank line.
* gthr-gnat.h (__gnat_install_locks): Make parameter
declarations prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67238 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr-gnat.h')
-rw-r--r-- | gcc/gthr-gnat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gthr-gnat.h b/gcc/gthr-gnat.h index 0f49227f913..727814197c0 100644 --- a/gcc/gthr-gnat.h +++ b/gcc/gthr-gnat.h @@ -34,7 +34,7 @@ typedef int __gthread_mutex_t; #define __GTHREAD_MUTEX_INIT 0 -extern void __gnat_install_locks (void (*lock) (), void (*unlock) ()); +extern void __gnat_install_locks (void (*lock) (void), void (*unlock) (void)); extern int __gthread_active_p (void); extern int __gthread_mutex_lock (__gthread_mutex_t *); extern int __gthread_mutex_unlock (__gthread_mutex_t *); |