aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-03-25 08:09:26 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-03-25 08:09:26 -0500
commit06f5c9df492f421098a97a261030e831e72de6f2 (patch)
tree099d594b53f0b3bcc3285d5b84017fdd564d55f2 /gcc
parenta39a7484b11e4f6bfa4d0799671564b09f43dc24 (diff)
downloadgcc-06f5c9df492f421098a97a261030e831e72de6f2.zip
gcc-06f5c9df492f421098a97a261030e831e72de6f2.tar.gz
gcc-06f5c9df492f421098a97a261030e831e72de6f2.tar.bz2
(objc_mutex_unlock): Properly declare thread_id.
From-SVN: r11612
Diffstat (limited to 'gcc')
-rw-r--r--gcc/objc/thr-single.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/objc/thr-single.c b/gcc/objc/thr-single.c
index 3821a2a..543f6db 100644
--- a/gcc/objc/thr-single.c
+++ b/gcc/objc/thr-single.c
@@ -219,7 +219,7 @@ objc_mutex_trylock(_objc_mutex_t mutex)
int
objc_mutex_unlock(_objc_mutex_t mutex)
{
- int thread_id; /* Cache our thread id. */
+ _objc_thread_t thread_id; /* Cache our thread id. */
if (!mutex) /* Is argument bad? */
return -1; /* Yes, abort. */