From: Paul Yang Date: Mon, 23 Oct 2017 17:35:31 +0000 (+0800) Subject: Fix doc-nits in doc/man3/DEFINE_STACK_OF.pod X-Git-Tag: OpenSSL_1_1_1-pre1~512 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=d9c989fe3f137580ee627c91e01245e78b0b41ff Fix doc-nits in doc/man3/DEFINE_STACK_OF.pod to to match the var name in function prototype Reviewed-by: Paul Dale Reviewed-by: Andy Polyakov Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/4559) --- diff --git a/doc/man3/DEFINE_STACK_OF.pod b/doc/man3/DEFINE_STACK_OF.pod index e35e640572..718e9f115e 100644 --- a/doc/man3/DEFINE_STACK_OF.pod +++ b/doc/man3/DEFINE_STACK_OF.pod @@ -92,8 +92,8 @@ B. sk_TYPE_value() returns element B in B, where B starts at zero. If B is out of range then B is returned. -sk_TYPE_new() allocates a new empty stack using comparison function B. -If B is B then no comparison function is used. This function is +sk_TYPE_new() allocates a new empty stack using comparison function B. +If B is B then no comparison function is used. This function is equivalent to sk_TYPE_new_reserve(compare, 0). sk_TYPE_new_null() allocates a new empty stack with no comparison function. This @@ -113,7 +113,7 @@ memory is allocated. sk_TYPE_reserve() also sets the comparison function B to the newly created stack. If B is B then no comparison function is used. -sk_TYPE_set_cmp_func() sets the comparison function of B to B. +sk_TYPE_set_cmp_func() sets the comparison function of B to B. The previous comparison function is returned or B if there was no previous comparison function.