Fix some doc nits
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2909)
diff --git a/doc/man3/BIO_ADDRINFO.pod b/doc/man3/BIO_ADDRINFO.pod
index 9ebf99a..7811da4 100644
--- a/doc/man3/BIO_ADDRINFO.pod
+++ b/doc/man3/BIO_ADDRINFO.pod
@@ -2,6 +2,7 @@
=head1 NAME
+BIO_lookup_type,
BIO_ADDRINFO, BIO_ADDRINFO_next, BIO_ADDRINFO_free,
BIO_ADDRINFO_family, BIO_ADDRINFO_socktype, BIO_ADDRINFO_protocol,
BIO_ADDRINFO_address,
diff --git a/doc/man3/BIO_parse_hostserv.pod b/doc/man3/BIO_parse_hostserv.pod
index 4ee4f46..426e4de 100644
--- a/doc/man3/BIO_parse_hostserv.pod
+++ b/doc/man3/BIO_parse_hostserv.pod
@@ -2,8 +2,9 @@
=head1 NAME
-BIO_parse_hostserv - utility routines to parse a standard host and service
-string
+BIO_hostserv_priorities,
+BIO_parse_hostserv
+- utility routines to parse a standard host and service string
=head1 SYNOPSIS
diff --git a/doc/man3/UI_STRING.pod b/doc/man3/UI_STRING.pod
index b0f9371..abd2cfc 100644
--- a/doc/man3/UI_STRING.pod
+++ b/doc/man3/UI_STRING.pod
@@ -1,8 +1,13 @@
=pod
-=head1 NAMES
+=head1 NAME
-UI_STRING, UI_string_types,
+UI_STRING, UI_string_types, UI_get_string_type,
+UI_get_input_flags, UI_get0_output_string,
+UI_get0_action_string, UI_get0_result_string,
+UI_get0_test_string, UI_get_result_minsize,
+UI_get_result_maxsize, UI_set_result
+- User interface string parsing
=head1 SYNOPSIS
diff --git a/util/find-doc-nits b/util/find-doc-nits
index 0b85515..537e132 100755
--- a/util/find-doc-nits
+++ b/util/find-doc-nits
@@ -96,6 +96,9 @@
} elsif ( $line =~ /typedef.* (\S+);/ ) {
# a simple typedef: typedef ... NAME;
$sym = $1;
+ } elsif ( $line =~ /enum (\S*) {/ ) {
+ # an enumeration: enum ... {
+ $sym = $1;
} elsif ( $line =~ /#define ([A-Za-z0-9_]+)/ ) {
$sym = $1;
} elsif ( $line =~ /([A-Za-z0-9_]+)\(/ ) {