summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbje <bje>1998-10-03 03:02:28 +0000
committerbje <bje>1998-10-03 03:02:28 +0000
commit6387bf1151eb5d61e4ce2fca165b013dcc5e29fc (patch)
treeaa785ccd353624c110e0cff037d40718d8325d27
parent567e22fe20c050f4ebfcfed0bbbff8757b8ded47 (diff)
1998-10-03 Ben Elliston <bje@cygnus.com>
* mutex.c (pthread_mutex_init): Correct function signature.
-rw-r--r--ChangeLog2
-rw-r--r--mutex.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 724e0be..1a14b49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
1998-10-03 Ben Elliston <bje@cygnus.com>
+ * 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)
{