diff options
author | 2016-03-12 21:31:22 +0000 | |
---|---|---|
committer | 2016-03-12 21:31:22 +0000 | |
commit | 75f7977ef4ea77607f97b8cb6af31f05f56c0d2f (patch) | |
tree | 97618199b28184894cb33a26aadbe74cba914be2 /lib/libc/stdlib/malloc.3 | |
parent | Bump for LibreSSL 2.4.0 (diff) | |
download | wireguard-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/malloc.3')
-rw-r--r-- | lib/libc/stdlib/malloc.3 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index 2e820047d01..c0be3a177d4 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -30,9 +30,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: malloc.3,v 1.93 2016/02/05 15:09:09 schwarze Exp $ +.\" $OpenBSD: malloc.3,v 1.94 2016/03/12 21:31:22 mmcc Exp $ .\" -.Dd $Mdocdate: February 5 2016 $ +.Dd $Mdocdate: March 12 2016 $ .Dt MALLOC 3 .Os .Sh NAME @@ -173,10 +173,6 @@ and set .Va errno to .Er ENOMEM . -.Pp -The -.Fn free -function returns no value. .Sh IDIOMS Consider .Fn calloc |