diff options
author | Rich Salz <rsalz@openssl.org> | 2016-06-21 07:03:34 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-06-21 07:03:34 -0400 |
commit | c952780c25f67d0645ef5e57a8ac7dae6ce2d586 (patch) | |
tree | 31c9e7f3c7e8f4b93337e58ab9370322e8d624e2 /util | |
parent | 6feb3c587e4bcfd73cf72da65384c310f2ee9ff2 (diff) | |
download | openssl-c952780c25f67d0645ef5e57a8ac7dae6ce2d586.tar.gz |
More doc cleanup
Add missing entries to NAME section
Add SYNOPSIS lines, remove old NAME entries
Update find-doc-nits; better regexp's for parsing SYNOPSIS sections.
Rename a couple of files to have an API name.
Remove RSA_private_decrypt; it was duplicate content
Update for recent doc additions
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/find-doc-nits.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util/find-doc-nits.pl b/util/find-doc-nits.pl index 69d7c93521..ba600367f6 100755 --- a/util/find-doc-nits.pl +++ b/util/find-doc-nits.pl @@ -68,10 +68,11 @@ sub name_synopsis() my $syn = $1; foreach my $line ( split /\n+/, $syn ) { my $sym; - $line =~ s/STACK_OF\([^)]+\)//; + $line =~ s/STACK_OF\([^)]+\)/int/g; + $line =~ s/__declspec\([^)]+\)//; if ( $line =~ /typedef.* (\S+);/ ) { $sym = $1; - } elsif ( $line =~ /#define (\S+)/ ) { + } elsif ( $line =~ /#define ([A-Za-z0-9_]+)/ ) { $sym = $1; } elsif ( $line =~ /([A-Za-z0-9_]+)\(/ ) { $sym = $1; |