summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/qsort.3
diff options
context:
space:
mode:
authormmcc <mmcc@openbsd.org>2016-03-12 21:31:22 +0000
committermmcc <mmcc@openbsd.org>2016-03-12 21:31:22 +0000
commit75f7977ef4ea77607f97b8cb6af31f05f56c0d2f (patch)
tree97618199b28184894cb33a26aadbe74cba914be2 /lib/libc/stdlib/qsort.3
parentBump for LibreSSL 2.4.0 (diff)
downloadwireguard-openbsd-75f7977ef4ea77607f97b8cb6af31f05f56c0d2f.tar.xz
wireguard-openbsd-75f7977ef4ea77607f97b8cb6af31f05f56c0d2f.zip
Remove sentences in RETURN VALUES sections saying that functions with
void return types 'return no value'. This is obvious and therefore unneccessary to mention. We spare rewind(3)'s sentence because espie@ pointed out that it's a warning - the function masks a potential error. This commit also adds a sentence to X509_free clarifying that it's NULL-safe. This bit was discussed with doug@. ok martijn@, sentiment supported by schwarze@
Diffstat (limited to 'lib/libc/stdlib/qsort.3')
-rw-r--r--lib/libc/stdlib/qsort.38
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/stdlib/qsort.3 b/lib/libc/stdlib/qsort.3
index 36eaed879b5..f753777780f 100644
--- a/lib/libc/stdlib/qsort.3
+++ b/lib/libc/stdlib/qsort.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: qsort.3,v 1.18 2015/01/29 01:46:31 schwarze Exp $
+.\" $OpenBSD: qsort.3,v 1.19 2016/03/12 21:31:22 mmcc Exp $
.\"
-.Dd $Mdocdate: January 29 2015 $
+.Dd $Mdocdate: March 12 2016 $
.Dt QSORT 3
.Os
.Sh NAME
@@ -143,10 +143,6 @@ which is faster than
.Fn heapsort .
Memory availability and pre-existing order in the data can make this untrue.
.Sh RETURN VALUES
-The
-.Fn qsort
-function returns no value.
-.Pp
.Rv -std heapsort mergesort
.Sh ERRORS
The