diff options
author | mmcc <> | 2016-03-12 21:31:22 +0000 |
---|---|---|
committer | mmcc <> | 2016-03-12 21:31:22 +0000 |
commit | d692c27f466b0683d4f7dd5f72058e64e04f0cd4 (patch) | |
tree | 41d48a54c09f49f4e37617cd4f79d217bf4250a8 /src/lib/libc/stdlib/qsort.3 | |
parent | b5aa7e790e535fc940826232ac1bf67aeb800cb0 (diff) | |
download | openbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.tar.gz openbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.tar.bz2 openbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.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 'src/lib/libc/stdlib/qsort.3')
-rw-r--r-- | src/lib/libc/stdlib/qsort.3 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/qsort.3 b/src/lib/libc/stdlib/qsort.3 index 36eaed879b..f753777780 100644 --- a/src/lib/libc/stdlib/qsort.3 +++ b/src/lib/libc/stdlib/qsort.3 | |||
@@ -29,9 +29,9 @@ | |||
29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
31 | .\" | 31 | .\" |
32 | .\" $OpenBSD: qsort.3,v 1.18 2015/01/29 01:46:31 schwarze Exp $ | 32 | .\" $OpenBSD: qsort.3,v 1.19 2016/03/12 21:31:22 mmcc Exp $ |
33 | .\" | 33 | .\" |
34 | .Dd $Mdocdate: January 29 2015 $ | 34 | .Dd $Mdocdate: March 12 2016 $ |
35 | .Dt QSORT 3 | 35 | .Dt QSORT 3 |
36 | .Os | 36 | .Os |
37 | .Sh NAME | 37 | .Sh NAME |
@@ -143,10 +143,6 @@ which is faster than | |||
143 | .Fn heapsort . | 143 | .Fn heapsort . |
144 | Memory availability and pre-existing order in the data can make this untrue. | 144 | Memory availability and pre-existing order in the data can make this untrue. |
145 | .Sh RETURN VALUES | 145 | .Sh RETURN VALUES |
146 | The | ||
147 | .Fn qsort | ||
148 | function returns no value. | ||
149 | .Pp | ||
150 | .Rv -std heapsort mergesort | 146 | .Rv -std heapsort mergesort |
151 | .Sh ERRORS | 147 | .Sh ERRORS |
152 | The | 148 | The |