Skip to content

Commit

Permalink
Fix doc-nits in doc/man3/DEFINE_STACK_OF.pod
Browse files Browse the repository at this point in the history
<compar> to <compare> to match the var name in function prototype

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from #4559)
  • Loading branch information
InfoHunter authored and paulidale committed Oct 25, 2017
1 parent 62f45e3 commit d9c989f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/man3/DEFINE_STACK_OF.pod
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ B<NULL>.
sk_TYPE_value() returns element B<idx> in B<sk>, where B<idx> starts at
zero. If B<idx> is out of range then B<NULL> is returned.

sk_TYPE_new() allocates a new empty stack using comparison function B<compar>.
If B<compar> is B<NULL> then no comparison function is used. This function is
sk_TYPE_new() allocates a new empty stack using comparison function B<compare>.
If B<compare> is B<NULL> 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
Expand All @@ -113,7 +113,7 @@ memory is allocated. sk_TYPE_reserve() also sets the comparison function
B<compare> to the newly created stack. If B<compare> is B<NULL> then no
comparison function is used.

sk_TYPE_set_cmp_func() sets the comparison function of B<sk> to B<compar>.
sk_TYPE_set_cmp_func() sets the comparison function of B<sk> to B<compare>.
The previous comparison function is returned or B<NULL> if there was
no previous comparison function.

Expand Down

0 comments on commit d9c989f

Please sign in to comment.