From d9c989fe3f137580ee627c91e01245e78b0b41ff Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Tue, 24 Oct 2017 01:35:31 +0800 Subject: [PATCH] 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) --- doc/man3/DEFINE_STACK_OF.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.39.5