summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_mutexattr.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2008-03-20 11:47:08 +0000
committerru <ru@FreeBSD.org>2008-03-20 11:47:08 +0000
commit735c62ce43b9438d0c6fe5b5068e036d45666d3f (patch)
tree5de9569b2058c7ceee070da48a43b1461dea8dce /lib/libthr/thread/thr_mutexattr.c
parent63e5e6059346926aa1259a990c4ba244d57c1471 (diff)
downloadFreeBSD-src-735c62ce43b9438d0c6fe5b5068e036d45666d3f.zip
FreeBSD-src-735c62ce43b9438d0c6fe5b5068e036d45666d3f.tar.gz
pthread_mutexattr_destroy() was accidentally broken in last revision,
unbreak it. We should really start compiling this with warnings.
Diffstat (limited to 'lib/libthr/thread/thr_mutexattr.c')
-rw-r--r--lib/libthr/thread/thr_mutexattr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_mutexattr.c b/lib/libthr/thread/thr_mutexattr.c
index 9013c82..7c48ed22 100644
--- a/lib/libthr/thread/thr_mutexattr.c
+++ b/lib/libthr/thread/thr_mutexattr.c
@@ -166,6 +166,7 @@ _pthread_mutexattr_destroy(pthread_mutexattr_t *attr)
*attr = NULL;
ret = 0;
}
+ return(ret);
}
int
OpenPOWER on IntegriCloud