summaryrefslogtreecommitdiff
path: root/mutex.c
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 /mutex.c
parent567e22fe20c050f4ebfcfed0bbbff8757b8ded47 (diff)
1998-10-03 Ben Elliston <bje@cygnus.com>
* mutex.c (pthread_mutex_init): Correct function signature.
Diffstat (limited to 'mutex.c')
-rw-r--r--mutex.c2
1 files changed, 1 insertions, 1 deletions
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)
{