]> git.ipfire.org Git - thirdparty/gcc.git/commit
thr-posix.c (__objc_mutex_allocate): Allocate mutex type instead of assuming it fits...
authorMark Kettenis <kettenis@phys.uva.nl>
Fri, 8 May 1998 00:04:27 +0000 (02:04 +0200)
committerJeff Law <law@gcc.gnu.org>
Fri, 8 May 1998 00:04:27 +0000 (18:04 -0600)
commit96bdc4337046ab13f90361aa464fd9cedda6674b
tree3c45734e125490e741e4b458e3c3ebff3b478c56
parent8eeeacaf54d7bac0526f9aeac34265a45b9171f0
thr-posix.c (__objc_mutex_allocate): Allocate mutex type instead of assuming it fits in a void * type.

        * objc/thr-posix.c (__objc_mutex_allocate): Allocate
        mutex type instead of assuming it fits in a void * type.
        (__objc_mutex_deallocate): Free mutex type.
        (__objc_mutex_lock): Pass mutex type instead of pointer to it.
        (__objc_mutex_{try,un}lock): Likewise.
        (__objc_condition_allocate): Allocate condition type instead
        of assuming it fits in a void * type.
        (__objc_condition_deallocate): Free condition type.
        (__objc_condition_wait): Pass condition type instead of pointer to it.
        (__objc_condition_{broadcast,signal}): Likewise.
Another lingering RH5.1 problem.

From-SVN: r19625
gcc/ChangeLog
gcc/objc/thr-posix.c