From 6387bf1151eb5d61e4ce2fca165b013dcc5e29fc Mon Sep 17 00:00:00 2001 From: bje Date: Sat, 3 Oct 1998 03:02:28 +0000 Subject: 1998-10-03 Ben Elliston * mutex.c (pthread_mutex_init): Correct function signature. --- ChangeLog | 2 ++ mutex.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 724e0be..1a14b49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1998-10-03 Ben Elliston + * mutex.c (pthread_mutex_init): Correct function signature. + * attr.c (pthread_attr_init): Only zero out the `sigmask' member if we have the sigset_t type. diff --git a/mutex.c b/mutex.c index d53c356..aaf4ff4 100644 --- a/mutex.c +++ b/mutex.c @@ -11,7 +11,7 @@ #include "implement.h" int -pthread_mutex_init(pthread_mutex_t *mutex, pthread_mutexattr_t *attr) +pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) { if (mutex == NULL) { -- cgit v1.2.3