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
2 files changed